首页 > 其他 > 详细

docker hello-world

时间:2020-04-24 21:48:34      阅读:60      评论:0      收藏:0      [点我收藏+]

hello world

?  ~ docker --help
images      List images
......


?  ~ docker images
REPOSITORY          TAG                 IMAGE ID            CREATED             SIZE
# 为空


?  ~ docker search hello
NAME                                       DESCRIPTION                                     STARS               OFFICIAL            AUTOMATED
hello-world                                Hello World! (an example of minimal Dockeriz…   1174
......


?  ~ docker pull hello-world
Using default tag: latest
latest: Pulling from library/hello-world
0e03bdcc26d7: Pull complete
Digest: sha256:8e3114318a995a1ee497790535e7b88365222a21771ae7e53687ad76563e8e76
Status: Downloaded newer image for hello-world:latest
docker.io/library/hello-world:latest


?  ~ docker images
REPOSITORY          TAG                 IMAGE ID            CREATED             SIZE
hello-world         latest              bf756fb1ae65        3 months ago        13.3kB


?  ~ docker container run hello-world

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


参考

https://www.ruanyifeng.com/blog/2018/02/docker-tutorial.html

docker hello-world

原文:https://www.cnblogs.com/mysticbinary/p/12769795.html

(0)
(0)
   
举报
评论 一句话评论(0
关于我们 - 联系我们 - 留言反馈 - 联系我们:wmxa8@hotmail.com
© 2014 bubuko.com 版权所有
打开技术之扣,分享程序人生!