Docker映像的Docker Hub注册表URL是什么 [英] What is the docker hub registry url for an docker image

查看:460
本文介绍了Docker映像的Docker Hub注册表URL是什么的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

用于提取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屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆