python-harborclient
python-harborclient copied to clipboard
harbor run subcommand is failure except help
run command return error as follow:
harbor --insecure info
Traceback (most recent call last):
File "/usr/local/bin/harbor", line 10, in
harbor run is normal
[root@node2 harbor]# docker-compose -f /usr/local/harbor/docker-compose.yml ps Name Command State Ports
harbor-adminserver /harbor/start.sh Up
harbor-core /harbor/start.sh Up
harbor-db /entrypoint.sh postgres Up 5432/tcp
harbor-jobservice /harbor/start.sh Up
harbor-log /bin/sh -c /usr/local/bin/ ... Up 127.0.0.1:1514->10514/tcp
harbor-portal nginx -g daemon off; Up 80/tcp
nginx nginx -g daemon off; Up 0.0.0.0:443->443/tcp, 0.0.0.0:4443->4443/tcp, 0.0.0.0:80->80/tcp
redis docker-entrypoint.sh redis ... Up 6379/tcp
registry /entrypoint.sh /etc/regist ... Up 5000/tcp
registryctl /harbor/start.sh Up
curl access harbor
[root@node2 harbor]# curl -IkL localhost HTTP/1.1 200 OK Server: nginx Date: Wed, 16 Jan 2019 19:13:45 GMT Content-Type: text/html Content-Length: 693 Connection: keep-alive Last-Modified: Fri, 04 Jan 2019 11:11:07 GMT ETag: "5c2f3f4b-2b5" Accept-Ranges: bytes