問題1:harbor服務不能正常提供?
Error response from daemon: Get http://hub.atguigu.com/v2/: dial tcp 192.168.66.100:80: connect: connection refused
原因分析:harbor服務器部分服務因宕機引起服務未重啟。
解決方法:重啟鏡像即可。
Username: admin
Password:
WARNING! Your password will be stored unencrypted in /root/.docker/config.json.
Configure a credential helper to remove this warning. See
https://docs.docker.com/engine/reference/commandline/login/#credentials-store
Login Succeeded
問題2:harbor服務正常,但不能提供harbor服務?
Authenticating with existing credentials...
Login did not succeed, error: Error response from daemon: login attempt to http://hub.atguigu.com/v2/ failed with status: 502 Bad Gateway
Username (admin): admin
Password:
Error response from daemon: login attempt to http://hub.atguigu.com/v2/ failed with status: 502 Bad Gateway
原因分析:在軟路由未正常工作區,harbor部分服務已啟動。
解決方法:在軟路由正常工作后,重啟harbor服務器,在確認相關服務是否正常。