docker-ce安装
原文:https://www.runoob.com/docker/centos-docker-install.html
我的sudo docker run hello-world的显示结果
1 0e03****26d7: Pull complete 2 Digest: sha256:7******a449bf11e0941a1fd****8b2600777c5 3 Status: Downloaded newer image for hello-world:latest 4 5 Hello from Docker! 6 This message shows that your installation appears to be working correctly. 7 8 To generate this message, Docker took the following steps: 9 1. The Docker client contacted the Docker daemon. 10 2. The Docker daemon pulled the "hello-world" image from the Docker Hub. 11 (amd64) 12 3. The Docker daemon created a new container from that image which runs the 13 executable that produces the output you are currently reading. 14 4. The Docker daemon streamed that output to the Docker client, which sent it 15 to your terminal. 16 17 To try something more ambitious, you can run an Ubuntu container with: 18 $ docker run -it ubuntu bash 19 20 Share images, automate workflows, and more with a free Docker ID: 21 https://hub.docker.com/ 22 23 For more examples and ideas, visit: 24 https://docs.docker.com/get-started/