The toolkit to pack, ship, store, and deliver container content
Find a file
Jonas Hecht 1f640d19dd contraint instead of label to create Registry on node1 (#4644)
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.
2017-09-15 11:20:26 -07:00
docs contraint instead of label to create Registry on node1 (#4644) 2017-09-15 11:20:26 -07:00