Docker Private Registry

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

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

1 Like

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

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