Add more visibility to docker stack deploy label issue

This commit is contained in:
Julien Maitrehenry
2017-08-22 04:56:03 -04:00
committed by Traefiker
parent 396449c07f
commit 05665f4eec
+2 -1
View File
@@ -131,7 +131,8 @@ docker-machine ssh manager "docker service create \
```
Note that we set whoami1 to use sticky sessions (`--label traefik.backend.loadbalancer.sticky=true`). We'll demonstrate that later.
If using `docker stack deploy`, there is [a specific way that the labels must be defined in the docker-compose file](https://github.com/containous/traefik/issues/994#issuecomment-269095109).
**Note**: If using `docker stack deploy`, there is [a specific way that the labels must be defined in the docker-compose file](https://github.com/containous/traefik/issues/994#issuecomment-269095109).
Check that everything is scheduled and started: