标签:
好久没有配置灯塔了,突然间来了兴趣,结果让我失望了,登陆反复的被refused;
这个是配置文件地址:https://github.com/vmware/harbor/blob/master/docs/user_guide.md
感觉是没有错的
jackluo@jackluo-X550CC:~/works/harbor/Deploy$ docker login 192.168.1.15 Username: jackluo Password: Error response from daemon: Get https://192.168.1.15/v1/users/: dial tcp 192.168.1.15:443: getsockopt: connection refused
jackluo@jackluo-X550CC:~$ netstat -ntpl (Not all processes could be identified, non-owned process info will not be shown, you would have to be root to see it all.) Active Internet connections (only servers) Proto Recv-Q Send-Q Local Address Foreign Address State PID/Program name tcp 0 0 127.0.1.1:53 0.0.0.0:* LISTEN - tcp 0 0 0.0.0.0:22 0.0.0.0:* LISTEN - tcp6 0 0 :::1514 :::* LISTEN - tcp6 0 0 :::80 :::* LISTEN - tcp6 0 0 :::22 :::* LISTEN - tcp6 0 0 :::443 :::* LISTEN - tcp6 0 0 :::5001 :::* LISTEN - jackluo@jackluo-X550CC:~$
我还以为是ipv6的问题,后面发现不是,群里有哥们提醒说是配置文件没有生效.
然后翻了一下官方的文档:https://docs.docker.com/engine/admin/systemd/
jackluo@jackluo-X550CC:~/works/harbor/Deploy$ docker login 192.168.1.15 Username (jackluo): jackluo Password: Login Succeeded
标签:
原文地址:http://www.cnblogs.com/jackluo/p/5582329.html