docker service

DescriptionManage Swarm services
Usagedocker 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

CommandDescription
docker service createCreate a new service
docker service inspectDisplay detailed information on one or more services
docker service logsFetch the logs of a service or task
docker service lsList services
docker service psList the tasks of one or more services
docker service rmRemove one or more services
docker service rollbackRevert changes to a service's configuration
docker service scaleScale one or multiple replicated services
docker service updateUpdate a service