Docker映像的Docker Hub注册表URL是什么 [英] What is the docker hub registry url for an docker image
问题描述
用于提取docker映像的docker hub完整注册表URL是什么。
我想获取以下格式的url:
[registry-url] / [名称空间] / [图像]:[标签]
[registry-url]
在您的语法中默认为 docker.io
。
[命名空间]
默认为库
。
[tag]
默认为最新
。
Docker调用的组合[ Registry-url] / [namespace] / [image]
一个存储库,偶尔会出现。
,如果您 docker pull mysql
,则该映像名称与 docker.io/library/mysql:latest
相同。 / p>
(请注意,这不是真实 URL,通常情况下,没有单个HTTP URL或Web页映射到特定Docker映像。) / p>
What is the docker hub full registry url for pulling docker images.
I would like to get url in the format: [registry-url]/[namespace]/[image]:[tag]
[registry-url]
in your syntax defaults to docker.io
.
[namespace]
defaults to library
.
[tag]
defaults to latest
.
Docker calls the combination of [registry-url]/[namespace]/[image]
a repository, which comes up occasionally.
So, if you docker pull mysql
, that image name is identical to docker.io/library/mysql:latest
.
(Note that this isn't a "real" URL, and in the general case there's no single HTTP URL or Web page that maps to a specific Docker image.)
这篇关于Docker映像的Docker Hub注册表URL是什么的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!