(Currently the most comprehensive, personal test is effective) Harbor Warehouse login failed <Welcome comments, favorites and exchanges>

1. Server resource information

Server role Server IP
Login to harbor 192.168.5.171
install harbor 192.168.5.172

2. The docker command line login is abnormal

Troubleshoot ideas:

  1. Is the account password correct?
  2. Can the login server access the harbor warehouse server (192.168.5.171)
  3. Whether the docker configuration is correct, whether to restart after configuration (192.168.5.171)
  4. Is the harbor configuration correct (192.168.5.172)

3. Specific investigation

1. Is the account password correct?

Use the browser to log in. If the login is normal, there is no problem with the account password.

 

2. Whether the login server can access the harbor warehouse server

ping warehouse server IP

domain name can also be used

 

If the ping domain name fails:

Check whether /etc/hosts is configured

 

3. Whether the docker configuration is correct, and whether to restart after configuration

Check whether /etc/docker/daemon.json is configured with relevant information

 After the configuration is complete, docker needs to be restarted: systemctl restart docker

4. Whether the harbor configuration is correct

Find the harbo.yml file

 Check whether the hostname configuration is consistent with the one used for login

 

Guess you like

Origin blog.csdn.net/weixin_40097029/article/details/130627656