jakubhajek / traefik-consul-swarm

Example code how to deploy Traefik with Consul as the provider
21 stars 10 forks source link

Question about "--with-registry-auth" #2

Closed pascalandy closed 5 years ago

pascalandy commented 5 years ago

As I use docker hub, do I need to pass this attribute?

Thanks!

jakubhajek commented 5 years ago

Hi @pascalandy,

The attribute --with-registry-auth is required if you use a private repo which is password protected. First, you need to execute command docker login on one of the manager nodes which a member of the Docker Swarm cluster. If you use public repo, you don't need to pass this attribute.