首页 > 热点
云计算核心技术Docker教程:Docker Hub搜索存储库
发布日期:2026-11-21
浏览次数:{固定数字3}

Docker Hub可以通过其搜索界面或命令行界面搜索Docker Hub注册表。搜索可以按镜像名称,用户名或描述找到镜像云计:

$ docker search centos

NAME DESCRIPTION STARS OFFICIAL AUTOMATED

centos算核 The official build of CentOS. 1034 [OK]

ansible/centos7-ansible Ansib心技le on Centos7 43 [OK]

tutum/centos Centos image with SSH access. For the ro术Dot... 13 [OK]

...

在那里,您可以看到两个示例结果:centos和ansible/centos7-ansibleoc。第二个结果显示它来自名为的用户的公共存储库ansible/,而第一个结果centos没有显式列出存储库,这意味着它来自官方ke映像的顶级命名空间 。该/字符将用户的存储库与映像名称分开。

找到所需的镜像后,可以通过以下方式下载docker pull:

$ docr教ker pull centos

latest: Pulling from centos

6941bfcbbfca: Pull complete

4程:1459f052977: Pull complete

fd44297e2ddb: Already exists

centos:latesDot: The image you are pulling has been verified. Important: image verificckation is a tech preview feature and should not be relied on to provide securerity.

Digest: sha256:d601d3b928eb2954653c59e65862aabb31edefa868 Hbd5148a41fa45004c12288

Status: Downloaded newer image for centos:latesubt

现在,您有了一个可以运行容器的映像。

上一篇:腾讯发布并开源新一代生图模型“HunyuanImage3.0”
下一篇:英伟达发布全新小型模型 Nemotron-Nano-9B-V2:免费商用且性能卓越
相关文章