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. 一段时间在网址中的含义是什么?
- 2. '&feature = related'在YouTube网址中的含义是什么?
- 3. 代码含义是什么?
- 4. “#!”的含义是什么在Twitter的网址?
- 5. 什么是精心设计的网络服务器的例子?
- 6. mod_pagespeed统计的含义是什么?
- 7. 这个计划的含义是什么
- 8. 计量wifi网络的含义是什么?
- 9. 这行代码的含义是什么?
- 10. 这段代码的含义是什么?
- 11. 以下代码的含义是什么?
- 12. 使用Bootstrap的设计含义是什么?
- 13. 什么是网址编码%2526?
- 14. Google搜索网址中包含什么?
- 15. 滑轨设计的自定义网址
- 16. 代码含义是什么? UITextFieldDelegate
- 17. 这些数字在ElasticSearch头中的含义是什么?
- 18. C iph_tos中IP头部的含义是什么?
- 19. UML类图中虚线箭头的含义是什么?
- 20. COMMAND标签在码头容器列表中的含义是什么?
- 21. Visual Studio代码编辑器中绿色弯曲箭头的含义是什么?
- 22. Android中的自定义网址中的android:scheme是什么?
- 23. x86-64 AT&T程序集中地址的含义是什么?
- 24. 什么是最好的网页设计源代码编辑器?
- 25. Twitter网址中的(#!)是做什么的?
- 26. “UseTaskFriendlySynchronizationContext”的含义是什么?
- 27. CronJobs的含义是什么?
- 28. configureDefaultServletHandling的含义是什么?
- 29. $ @的含义是什么?
- 30. URL的含义是什么
谢谢你的好答案。 – 2014-12-03 08:03:51
这只是帮助我,所以我评论如果其他追随者寻求相同的信息。如果您使用的是自助托管的注册表(2.1.1)和透传缓存,则必须使用localhost:5000/library/ubuntu而不是localhost:5000/ubuntu。 – 2015-10-02 14:57:07