Docker 安装与镜像构建全攻略
1. Docker 安装
1.1 安装验证
可以使用 Docker 的 hello-world 示例来验证 Docker 是否成功安装:
[root@osboxes ~]# docker run hello-world
输出结果大致如下:
Unable to find image 'hello-world:last' locally
latest: Pulling from library/hello-world
03f4658f8b78: Pull complete
a3ed95caeb02: Pull complete
Digest:
sha256:8be990ef2aeb16dbcb9271ddfe2610fa6658d13f6dfb8bc72074cc1ca36966a7
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:
The Docker client contacted the Docker daemon.
1.
The Docker daemon pulle
超级会员免费看
订阅专栏 解锁全文

被折叠的 条评论
为什么被折叠?



