远程docker注册表中的图像因超时异常而失败

时间:2017-08-24 12:59:49

标签: docker

我已在本地部署了一个图像,如下所示

[root@user]# docker tag hello-world localhost:5000/hello-world

[root@user]# docker push localhost:5000/hello-world
The push refers to a repository [localhost:5000/hello-world]
a02596fdd012: Pushed 
latest: digest: sha256:a18ed77532f6d6781500db650194e0f9396ba5f05f8b50d4046b294ae5f83aa4 size: 524

步骤1:

[root@user]# docker pull localhost:5000/hello-world
Using default tag: latest
latest: Pulling from hello-world

Digest: sha256:a18ed77532f6d6781500db650194e0f9396ba5f05f8b50d4046b294ae5f83aa4
Status: Image is up to date for localhost:5000/hello-world:latest

工作正常

我正在尝试从远程计算机中提取相同的图像

步骤2:

[root@user]# docker tag hello-world server-ip:5000/hello-world

当我进行泊坞推进时,我收到了以下错误

communication error occurred: \"Operation timed out\"\r\n</FONT>\r\n</TD></TR>\r\n<TR><TD>\r\n<FONT face=\"Helvetica\">\r\nThe Web Server may be down, too busy, or experiencing other problems preventing it from responding to requests. You may wish to try again at a later time.

我在远程机器的docker注册表中添加了server-ip,但我仍然看到了这个错误

以下是服务器和客户端泊坞窗信息 -

我的码头信息

Containers: 12
 Running: 2
 Paused: 0
 Stopped: 10
Images: 8
Server Version: 1.12.6
Storage Driver: aufs
 Root Dir: /var/lib/docker/aufs
 Backing Filesystem: extfs
 Dirs: 152
 Dirperm1 Supported: true
Logging Driver: json-file
Cgroup Driver: cgroupfs
Plugins:
 Volume: local
 Network: host bridge null overlay
Swarm: inactive
Runtimes: runc
Default Runtime: runc
Security Options: apparmor seccomp
Kernel Version: 4.2.0-16-generic
Operating System: Ubuntu 15.10
OSType: linux
Architecture: x86_64
CPUs: 4
Total Memory: 15.56 GiB
ID: S6UJ:M6DP:QI2L:M2PS:HZCP:OVTZ:FMVX:JKKS:Z6MJ:VHIL:SXTM:EDQO
Docker Root Dir: /var/lib/docker
Debug Mode (client): false
Debug Mode (server): false
Http Proxy: http://proxy:8080
Https Proxy: https://proxy:8080
Registry: https://index.docker.io/v1/
WARNING: No swap limit support
Insecure Registries:
 server-ip:5000
 127.0.0.0/8

服务器泊坞窗信息

Containers: 20
 Running: 1
 Paused: 0
 Stopped: 19
Images: 29
Server Version: 1.12.6
Storage Driver: aufs
 Root Dir: /var/lib/docker/aufs
 Backing Filesystem: extfs
 Dirs: 253
 Dirperm1 Supported: true
Logging Driver: json-file
Cgroup Driver: cgroupfs
Plugins:
 Volume: local
 Network: null bridge host overlay
Swarm: inactive
Runtimes: runc
Default Runtime: runc
Security Options: apparmor seccomp
Kernel Version: 4.2.0-16-generic
Operating System: Ubuntu 15.10
OSType: linux
Architecture: x86_64
CPUs: 4
Total Memory: 15.56 GiB
ID: ZM6K:OVPZ:VKMU:SV22:4HT4:AI66:7XQB:SSRP:X54A:XASV:UYYA:3X5I
Docker Root Dir: /var/lib/docker
Debug Mode (client): false
Debug Mode (server): false
Http Proxy: http://proxy:8080/
Registry: https://index.docker.io/v1/
WARNING: No swap limit support
Insecure Registries:
 ip:5000
 127.0.0.0/8

0 个答案:

没有答案
相关问题