Get https://192.168.1.128:5000/v1/_ping: dial tcp 192.168.1.128:5000: getsockopt: connection refused
Closed this issue · 1 comments
cloudscode commented
The push refers to a repository [192.168.1.128:5000/pft/jdk]
Get https://192.168.1.128:5000/v1/_ping: dial tcp 192.168.1.128:5000: getsockopt: connection refused
cloudscode commented
解决方法:
在”/etc/docker/“目录下,创建”daemon.json“文件。
vi /etc/docker/daemon.json
在文件中写入:
{ "insecure-registries":["192.168.1.128:5000"] }