Browse code

Merge pull request #24640 from avsm/service-create-docs-quoting

docs: correct the placement constraints `docker service` example

Charles Smith authored on 2016/07/15 05:18:45
Showing 1 changed files
... ...
@@ -170,7 +170,8 @@ node type label equals queue:
170 170
 ```bash
171 171
 $ docker service create \
172 172
   --name redis_2 \
173
-  --constraint node.labels.type == queue
173
+  --constraint 'node.labels.type == queue' \
174
+  redis:3.0.6
174 175
 ```
175 176
 
176 177
 ## Related information