Swarm This command works with the Swarm orchestrator.
docker service COMMAND
This is a cluster management command, and must be executed on a swarm manager node. To learn about managers and workers, refer to the Swarm mode section in the documentation.
|docker||The base command for the Docker CLI.|
|docker service create||Create a new service|
|docker service inspect||Display detailed information on one or more services|
|docker service logs||Fetch the logs of a service or task|
|docker service ls||List services|
|docker service ps||List the tasks of one or more services|
|docker service rm||Remove one or more services|
|docker service rollback||Revert changes to a service’s configuration|
|docker service scale||Scale one or multiple replicated services|
|docker service update||Update a service|