一、登陆私有仓库错误:
docker login --username=evan 192.168.0.203 Error response from daemon: Get https://192.168.0.203/v2/: dial tcp 192.168.0.203:443: connect: connection refused
解决办法:
添加 insecure-registries
vi /etc/docker/daemon.json
"insecure-registries": ["192.168.2.203"] (私有仓库地址)
systemctl daemon-reload
systemctl restart docker