[root@localhost docker]# docker push 10.0.8.17:5000/nginx:1.17.10
The push refers to repository [10.0.8.17:5000/nginx]
Get "https://10.0.8.17:5000/v2/": net/http: request canceled while waiting for connection (Client.Timeout exceeded while awaiting headers)
你的本地服务是这个地址吗
上面是另一台服务器的ip,push本地宿主机ip地址也不行
[root@localhost ~]# docker push 192.168.253.130:5000/nginx:1.17.10
The push refers to repository [192.168.253.130:5000/nginx]
Get "http://192.168.253.130:5000/v2/": dial tcp 192.168.253.130:5000: connect: connection refused
你这个机器上有安装好了本地镜像仓了嘛 registry
安装了
[root@localhost ~]# docker images | grep "registry"
registry 2 3a0f7b0a13ef 6 days ago 24.1MB
有远程不 我看看