Jas
Jas

Reputation: 15093

How to refer to an internal docker registry?

If I run

docker run myown-couchbase

and myown-couchbase is hosted on my own private docker registry. How do I tell docker-client to refer to that registry? for example in maven i'm used to have a file settings.xml where I specify the maven repositories how do I specify that for docker?

thanks

Upvotes: 2

Views: 103

Answers (1)

BMW
BMW

Reputation: 45223

For private docker registry, you need add the server and port when you refer the image. such as

docker pull my.registry.address:port/repositoryname

See the documentation for more infos.

Upvotes: 3

Related Questions