docker service

Description Manage Swarm services
Usage docker service

Swarm This command works with the Swarm orchestrator.

Description

Manage Swarm services.

Note

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.

Subcommands

Command Description
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