dock push error
The push refers to a repository [192.168.200.103:5000/rancher/server]
Get https://192.168.200.103:5000/v1/_ping: http: server gave HTTP response to HTTPS client
solution
1. After checking the /etc/sysconfig/docker configuration, it is found that the IP address configuration of the warehouse is incorrect, and 103 is changed to 105. After the change, restart the docker service, and the push is normal.
ADD_REGISTRY='--add-registry 192.168.200.103:5000'
INSECURE_REGISTRY='--insecure-registry 192.168.200.103:5000'
2. echo '{ "insecure-registries":["xxx.xxx.xxx.xxx:5000"] }' > /etc/docker/daemon.json