Docker Community Forums

Share and learn in the Docker community.

Docker Private Registry


(Devopsdomain) #1

Hello

I would like to pull the image hosted on my Custom Docker Registry, how to add the instruction/command/syntax for this one in the Dockerfile.

Appreciate your quick help.

Regards, Kumar


(Ykyuen) #2

docker pull <my.registry.com>:<registry_port>/<image_name>:<image_tag>


(Rubendario) #4

I use the follow instruction for run images from docker hub into my machine.

docker run --name mongo -p 27017 rubendario/mongo