Hey @Ruby, If your image is available on a private registry which requires login,use the --with-registry-auth flag with docker service create, after logging in.
If your image is stored on registry.example.com, which is a private registry, use a command like the following:
$ docker login registry.example.com
$ docker service create \
--with-registry-auth \
--name my_service \
registry.example.com/acme/my_image:latest
This passes the login token from your local client to the swarm nodes where the service is deployed, using the encrypted WAL logs. With this information, the nodes are able to log into the registry and pull the image.
This will do!