mirror of https://github.com/docker/docs.git
As the `--label` option is used before in `docker node update --label-add registry=true node1`, the Docker registry should be restricted to only run on `node1` - and nowhere else. So the `docker service create` command has to use the option `--constraint 'node.labels.registry==true` instead of `--label registry=true`- because it is a contraint, where to run the Registry - we don´t just want to set a label again. |
||
|---|---|---|
| .. | ||
| images | ||
| recipes | ||
| storage-drivers | ||
| compatibility.md | ||
| deploying.md | ||
| deprecated.md | ||
| garbage-collection.md | ||
| glossary.md | ||
| help.md | ||
| index.md | ||
| insecure.md | ||
| introduction.md | ||
| migration.md | ||
| notifications.md | ||