Docker Community Forums

Share and learn in the Docker community.

How to use docker private registry while creating docker swarm service

docker

(Jatin1234) #1

We trying to pull image from the private registry while creating docker service in swarm mode. Please let us know the command for the same.


(Ncfballkid) #2

Log in to your registry: `docker login my-registry.com

and then when you are creating the service use --with-registry-auth