Skip to content
Advertisement

Private Docker registry error

I am new to docker and trying to push some images to docker registry which I made using self signed certificates.

docker push

<IP-Address>:5000/hello-world

But it gives following error:

The push refers to a repository

[<IP-Address>:5000/hello-world]
Get https://<IP-Address>:5000/v1/_ping: x509: 

cannot validate certificate for

<IP-Address> because it doesn't contain any IP SANs

If I use Domain in place of IP-Address, docker push

<domain-name.com>:5000/hello-world

it shows error:

The push refers to a repository

[<domain-name.com>:5000/hello-world]
Get https://<domain-name.com>:5000/v1/_ping: x509:

certificate signed by unknown authority

Am I missing something? How to solve this error?

Advertisement

Answer

See answer here step by step guide to setup private registry. Hope this will help.

Advertisement