Update service update commandline reference docs

Update with the new remove flags

Signed-off-by: Vincent Demeester <vincent@sbr.pm>
This commit is contained in:
Vincent Demeester 2016-07-14 11:22:18 +02:00 committed by Tibor Vass
parent 8bc84934fb
commit fa29084b31
1 changed files with 14 additions and 8 deletions

View File

@ -17,19 +17,25 @@ Usage: docker service update [OPTIONS] SERVICE
Update a service Update a service
Options: Options:
--arg value Service command args (default []) --args string Service command args
--constraint value Placement constraints (default []) --constraint-add value Add or update placement constraints (default [])
--constraint-rm value Remove a constraint (default [])
--endpoint-mode string Endpoint mode (vip or dnsrr) --endpoint-mode string Endpoint mode (vip or dnsrr)
-e, --env value Set environment variables (default []) --env-add value Add or update environment variables (default [])
--env-rm value Remove an environment variable (default [])
--help Print usage --help Print usage
--image string Service image tag --image string Service image tag
-l, --label value Service labels (default []) --label-add value Add or update service labels (default [])
--label-rm value Remove a label by its key (default [])
--limit-cpu value Limit CPUs (default 0.000) --limit-cpu value Limit CPUs (default 0.000)
--limit-memory value Limit Memory (default 0 B) --limit-memory value Limit Memory (default 0 B)
--mount value Attach a mount to the service --mount-add value Add or update a mount on a service
--mount-rm value Remove a mount by its target path (default [])
--name string Service name --name string Service name
--network value Network attachments (default []) --network-add value Add or update network attachments (default [])
-p, --publish value Publish a port as a node port (default []) --network-rm value Remove a network by name (default [])
--publish-add value Add or update a published port (default [])
--publish-rm value Remove a published port by its target port (default [])
--registry-auth Send registry authentication details to Swarm agents --registry-auth Send registry authentication details to Swarm agents
--replicas value Number of tasks (default none) --replicas value Number of tasks (default none)
--reserve-cpu value Reserve CPUs (default 0.000) --reserve-cpu value Reserve CPUs (default 0.000)