Java资源分享网 - 专业的Java学习网站 学Java,上Java资源分享网
Docker Hub 快速入门 PDF 下载
发布于:2024-09-09 09:59:54
(假如点击没反应,多刷新两次就OK!)

Docker Hub 快速入门 PDF 下载 图1

 

 

资料内容:

 

2. 运行 docker run hello-world 以在本地运行镜像。您应该看到类似
于以下内容的输出
$ 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.
(amd64)
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:
http://docs.docker.net.cn/get-started/