MLD-5.x > General

[gelöst]RPi4: docker installieren

<< < (2/8) > >>

gr4vity:
Hello herrdeh,

What is the output of

/etc/init.d/docker restart

Best Regards.

herrdeh:

--- Code: ---LD> /etc/init.d/docker restart
Stopping docker                                                                                                                            done
Starting docker                                                                                                                            done
MLD> docker run hello-world
docker: Cannot connect to the Docker daemon at unix:///var/run/docker.sock. Is the docker daemon running?.
See 'docker run --help'.
MLD>

--- End code ---


--- Code: ---MLD> dockerd-ce
-sh: dockerd-ce: Too many levels of symbolic links

--- End code ---

gr4vity:
I dunno what you are trying to do with hello-world
read the official wiki for docker installation!
https://www.minidvblinux.de/wiki/mld/entwicklung/54_entwicklungsumgebung

herrdeh:
AFAIK, docker hello-world is a common test to find out whether a docker installation is working properly. Mine does not...  :-[

https://hub.docker.com/_/hello-world

Cheers,
Wolf

gr4vity:
I surely know it's used to test docker installation  :)
I posted the wiki link so you follow the installation steps from there.

By the way it works fine using MLD 5.4


--- Code: ---MLD> docker pull hello-world
Using default tag: latest
latest: Pulling from library/hello-world
4ee5c797bcd7: Pull complete
Digest: sha256:49a1c8800c94df04e9658809b006fd8a686cab8028d33cfba2cc049724254202
Status: Downloaded newer image for hello-world:latest
MLD> docker run hello-world

Hello from Docker!
This message shows that your installation appears to be working correctly.

To generate this message, Docker took the following steps:
 1. The Docker client contacted the Docker daemon.
 2. The Docker daemon pulled the "hello-world" image from the Docker Hub.
    (arm32v7)
 3. The Docker daemon created a new container from that image which runs the
    executable that produces the output you are currently reading.
 4. The Docker daemon streamed that output to the Docker client, which sent it
    to your terminal.

To try something more ambitious, you can run an Ubuntu container with:
 $ docker run -it ubuntu bash

Share images, automate workflows, and more with a free Docker ID:
 https://hub.docker.com/

For more examples and ideas, visit:
 https://docs.docker.com/get-started/

--- End code ---

Regards.

Navigation

[0] Message Index

[#] Next page

[*] Previous page

Go to full version