您好,登录后才能下订单哦!
密码登录
登录注册
点击 登录注册 即表示同意《亿速云用户服务条款》
[root@docker ~]# docker run hello-world
#本地无法找到hello-world的镜像
Unable to find image 'hello-world:latest' locally
#从远程仓库拉取hello-world镜像
latest: Pulling from library/hello-world
1b930d010525: Pull complete
Digest: sha256:4df8ca8a7e309c256d60d7971ea14c27672fc0d10c5f303856d7bc48f8cc17ff
#下载完成了一个新的镜像(hello-world)
Status: Downloaded newer image for hello-world:latest
#镜像容器运行内容(看到以下内容,代表运行正常)
Hello from Docker!
This message shows that your installation appears to be working correctly.
#为了产生此信息,容器做了下以下步骤工作:
To generate this message, Docker took the following steps:
#docker的客户端连接到服务器的docker服务端,以守护进程在后台启动,典型的CS
1. The Docker client contacted the Docker daemon.
#docer服务端从docker hub远程仓库下载了一个hello-world的镜像
2. The Docker daemon pulled the "hello-world" image from the Docker Hub.
(amd64)
#docker服务端通过这个镜像启动了一个新的容器,执行了相应的命令或程序,输出了一段信息或内容。
3. The Docker daemon created a new container from that image which runs the
executable that produces the output you are currently reading.
#docker服务器把数据流输出到docker客户端,并发送到你的终端。
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/
免责声明:本站发布的内容(图片、视频和文字)以原创、转载和分享为主,文章观点不代表本网站立场,如果涉及侵权请联系站长邮箱:is@yisu.com进行举报,并提供相关证据,一经查实,将立刻删除涉嫌侵权内容。