Hi all

When I input the command

docker login -u docker -p docker nexus3.onap.org:10001

It shows the error

Error response from daemon: invalid registry endpoint 
https://nexus3.onap.org:10001/v0/: unable to ping registry endpoint 
https://nexus3.onap.org:10001/v0/
v2 ping attempt failed with error: Get https://nexus3.onap.org:10001/v2/: EOF
v1 ping attempt failed with error: Get https://nexus3.onap.org:10001/v1/_ping: 
EOF. If this private registry supports only HTTP or HTTPS with an unknown CA 
certificate, please add `--insecure-registry nexus3.onap.org:10001` to the 
daemon's arguments. In the case of HTTPS, if you have access to the registry's 
CA certificate, no need for the flag; simply place the CA certificate at 
/etc/docker/certs.d/nexus3.onap.org:10001/ca.crt

and then I use
openssl req -newkey rsa:4096 -nodes -sha256 -keyout certs/domain.key -x509 
-days 365 -out certs/domain.crt
to generate a .crt file and copy it to 
/etc/docker/certs.d/nexus3.onap.org:10001/ca.crt and restart docker

but it shows that it doesn't have any effect.

Can you offer some help? thanks


Best wishes,
Rujun, Li

_______________________________________________
onap-discuss mailing list
[email protected]
https://lists.onap.org/mailman/listinfo/onap-discuss

Reply via email to