these markdown files are not consumed directly in the docs, but only their content is included through the YAML does, so there's no need to have these comments in them Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
37 lines
927 B
Markdown
37 lines
927 B
Markdown
---
|
|
title: "service"
|
|
description: "The service command description and usage"
|
|
keywords: "service"
|
|
---
|
|
|
|
# service
|
|
|
|
```markdown
|
|
Usage: docker service COMMAND
|
|
|
|
Manage services
|
|
|
|
Options:
|
|
--help Print usage
|
|
|
|
Commands:
|
|
create Create a new service
|
|
inspect Display detailed information on one or more services
|
|
logs Fetch the logs of a service or task
|
|
ls List services
|
|
ps List the tasks of one or more services
|
|
rm Remove one or more services
|
|
scale Scale one or multiple replicated services
|
|
update Update a service
|
|
|
|
Run 'docker service COMMAND --help' for more information on a command.
|
|
```
|
|
|
|
## Description
|
|
|
|
Manage 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](https://docs.docker.com/engine/swarm/) in the documentation.
|