Obviously entered the correct harbor username and password, but still cannot log in to the harbor
Error details:
Error response from daemon: Get https://172.16.24.185/v1/users/: dial tcp 172.16.24.185:443: connect: connection re fused
Solution:
1. Edit daemon.json
ps: The harbor warehouse address of this article is: 172.16.24.185
vim /etc/docker/daemon.json
插入:
"insecure-registries": ["172.16.24.185"]
Remember not to miss and add a comma after the original content. If you miss a comma, restart docker will report an error
2. Restart docker
systemctl daemon-reload
service docker restart
3. Log in to harbor again