4
A
回答
8
如果您对dockerhub
一个账户名为foobar
:
# pull from your account (foobar)
docker pull foobar/ubuntu:latest
否则,如果你省略了用户名:
# pull from the official account (library)
docker pull ubuntu:latest
# almost the same as
docker pull library/ubuntu:latest
下划线(_
)是用于发布官方特别的命名空间库。
https://registry.hub.docker.com/_/ubuntu/几乎是一样的https://registry.hub.docker.com/u/library/ubuntu/
唯一的区别是,你会得到不同的图像,名称具有相同的图像ID:
$ docker pull ubuntu:latest
$ docker pull library/ubuntu:latest
$ docker images
REPOSITORY TAG IMAGE ID CREATED VIRTUAL SIZE
library/ubuntu latest 86ce37374f40 7 days ago 192.7 MB
ubuntu latest 86ce37374f40 7 days ago 192.7 MB
相关问题
- 1. URL地址中'//'的含义是什么
- 2. “#”或“#!”的含义是什么?出现在网站的网址
- 3. '&feature = related'在YouTube网址中的含义是什么?
- 4. 一段时间在网址中的含义是什么?
- 5. 这个网址中#的含义是什么 - http:// projectname/controller/viewname#
- 6. 代码含义是什么?
- 7. NSURLErrorDomain中代码的含义是什么?
- 8. “#!”的含义是什么在Twitter的网址?
- 9. 网格计算中非平凡QoS的含义是什么?
- 10. 亚马逊网址的含义是什么?
- 11. 什么是精心设计的网络服务器的例子?
- 12. mod_pagespeed统计的含义是什么?
- 13. 这个计划的含义是什么
- 14. 网页2的含义是什么?
- 15. 计量wifi网络的含义是什么?
- 16. 这行代码的含义是什么?
- 17. 以下代码的含义是什么?
- 18. 这段代码的含义是什么?
- 19. 什么是谷歌钱包制作商户中心的网址
- 20. 什么是网址编码%2526?
- 21. 使用Bootstrap的设计含义是什么?
- 22. Google搜索网址中包含什么?
- 23. ThreadScope中核心编号的含义是什么?
- 24. 滑轨设计的自定义网址
- 25. 代码含义是什么? UITextFieldDelegate
- 26. 神经网络中'偏倚'的含义和意义是什么?
- 27. <>在iOS类头中的含义是什么?
- 28. 这些数字在ElasticSearch头中的含义是什么?
- 29. UML类图中虚线箭头的含义是什么?
- 30. C iph_tos中IP头部的含义是什么?
谢谢你的好答案。 – 2014-12-03 08:03:51
这只是帮助我,所以我评论如果其他追随者寻求相同的信息。如果您使用的是自助托管的注册表(2.1.1)和透传缓存,则必须使用localhost:5000/library/ubuntu而不是localhost:5000/ubuntu。 – 2015-10-02 14:57:07