如何查找图像是否存在于 docker 存储库中
How to find whether a image is present in the docker repository
正在尝试在我的本地存储库中提取 docker 图像。
使用的命令:
docker pull buzybox:1.24
Error response from daemon: repository buzybox not found: does not exist or no pull access
我的问题:
1:如何找到连接的仓库名?
2.Whats 其所指错误中的访问问题?我们在默认回购中是否也有任何类型的访问问题?如何找到它?
3.How 如果我在我的当前仓库中找不到图像,请更改仓库。
4.Do 我们有任何门户网站,我们可以从中搜索图像是否存在于存储库中。
输出 id docker 信息 :
docker info
Containers: 5
Running: 0
Paused: 0
Stopped: 5
Images: 2
Server Version: 17.06.2-ce
Storage Driver: overlay2
Backing Filesystem: extfs
Supports d_type: true
Native Overlay Diff: true
Logging Driver: json-file
Cgroup Driver: cgroupfs
Plugins:
Volume: local
Network: bridge host ipvlan macvlan null overlay
Log: awslogs fluentd gcplogs gelf journald json-file logentries splunk
syslog
Swarm: inactive
Runtimes: runc
Default Runtime: runc
Init Binary: docker-init
containerd version: 6e23458c129b551d5c9871e5174f6b1b7f6d1170
runc version: 810190ceaa507aa2727d7ae6f4790c76ec150bd2
init version: 949e6fa
Security Options:
seccomp
Profile: default
Kernel Version: 4.9.41-moby
Operating System: Alpine Linux v3.5
OSType: linux
Architecture: x86_64
CPUs: 2
Total Memory: 1.941GiB
Name: moby
ID: RJWZ:HXFZ:5FQX:V2AB:YAXP:BKSU:RLQH:H24C:LNUD:USDA:VIF7:W2M3
Docker Root Dir: /var/lib/docker
Debug Mode (client): false
Debug Mode (server): true
File Descriptors: 15
Goroutines: 26
System Time: 2018-01-28T06:34:45.7011515Z
EventsListeners: 0
Registry: https://index.docker.io/v1/
Experimental: true
Insecure Registries:
127.0.0.0/8
Live Restore Enabled: false
提前谢谢大家!!
尼洛帕尔
您没有连接到存储库。您连接到注册表。您可能已连接到 https://index.docker.io/v1/ 但可以肯定的是,您可以 运行 sudo docker info
并查找注册表行。您的存储库是 buzybox
,您正尝试从该存储库下载带有标签 1.24
的图像。
访问问题可能是您拼错了 busybox
(注意 's' 而不是 'z')。
要登录不同的注册表,然后 运行
docker login https://<YOUR-DOMAIN>:8080
然后确保在下载映像时指定新注册表,如下所示:
docker pull <YOUR-DOMAIN>:8080/busybox:1.24
正在尝试在我的本地存储库中提取 docker 图像。 使用的命令:
docker pull buzybox:1.24
Error response from daemon: repository buzybox not found: does not exist or no pull access
我的问题:
1:如何找到连接的仓库名?
2.Whats 其所指错误中的访问问题?我们在默认回购中是否也有任何类型的访问问题?如何找到它?
3.How 如果我在我的当前仓库中找不到图像,请更改仓库。
4.Do 我们有任何门户网站,我们可以从中搜索图像是否存在于存储库中。
输出 id docker 信息 :
docker info
Containers: 5
Running: 0
Paused: 0
Stopped: 5
Images: 2
Server Version: 17.06.2-ce
Storage Driver: overlay2
Backing Filesystem: extfs
Supports d_type: true
Native Overlay Diff: true
Logging Driver: json-file
Cgroup Driver: cgroupfs
Plugins:
Volume: local
Network: bridge host ipvlan macvlan null overlay
Log: awslogs fluentd gcplogs gelf journald json-file logentries splunk
syslog
Swarm: inactive
Runtimes: runc
Default Runtime: runc
Init Binary: docker-init
containerd version: 6e23458c129b551d5c9871e5174f6b1b7f6d1170
runc version: 810190ceaa507aa2727d7ae6f4790c76ec150bd2
init version: 949e6fa
Security Options:
seccomp
Profile: default
Kernel Version: 4.9.41-moby
Operating System: Alpine Linux v3.5
OSType: linux
Architecture: x86_64
CPUs: 2
Total Memory: 1.941GiB
Name: moby
ID: RJWZ:HXFZ:5FQX:V2AB:YAXP:BKSU:RLQH:H24C:LNUD:USDA:VIF7:W2M3
Docker Root Dir: /var/lib/docker
Debug Mode (client): false
Debug Mode (server): true
File Descriptors: 15
Goroutines: 26
System Time: 2018-01-28T06:34:45.7011515Z
EventsListeners: 0
Registry: https://index.docker.io/v1/
Experimental: true
Insecure Registries:
127.0.0.0/8
Live Restore Enabled: false
提前谢谢大家!!
尼洛帕尔
您没有连接到存储库。您连接到注册表。您可能已连接到 https://index.docker.io/v1/ 但可以肯定的是,您可以 运行
sudo docker info
并查找注册表行。您的存储库是buzybox
,您正尝试从该存储库下载带有标签1.24
的图像。访问问题可能是您拼错了
busybox
(注意 's' 而不是 'z')。要登录不同的注册表,然后 运行
docker login https://<YOUR-DOMAIN>:8080
然后确保在下载映像时指定新注册表,如下所示:
docker pull <YOUR-DOMAIN>:8080/busybox:1.24