[root@wt ~]# docker login -u admin -pHarbor12345 http://192.168.153.40
WARNING! Using --password via the CLI is insecure. Use --password-stdin.
Error response from daemon: Get https://192.168.153.40/v2/: dial tcp 192.168.153.40:443: connect: connection refused
问题:客户端在连接Harbor服务器时出现无法登录的情况
解决:修改配置文件/usr/lib/systemd/system/docker.service
添加此段内容,使客户端可以连接Harbor服务器
vim /usr/lib/systemd/system/docker.service
systemctl daemon-reload
systemctl restart docker