阿里云搭建本地registry倉庫出現(xiàn)這個(gè)問題
root@s1:~# docker push 172.17.150.43:5000/hello-world
The push refers to repository [172.17.150.43:5000/hello-world]
Get http://172.17.150.43:5000/v2/: dial tcp 172.17.150.43:5000: connect: connection refused
--
已經(jīng)重啟docker,registry容器
2019-05-28
172.17.150.43:5000--這個(gè)是你的私有registry嗎?請(qǐng)檢查:
docker run的時(shí)候是否有使用-p進(jìn)行端口映射;
host的防火墻設(shè)置
是否將私有registry添加到docker的配置文件中