File: service.md

package info (click to toggle)
docker.io 26.1.5%2Bdfsg1-9
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 68,576 kB
  • sloc: sh: 5,748; makefile: 912; ansic: 664; asm: 228; python: 162
file content (33 lines) | stat: -rw-r--r-- 1,403 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
# service

<!---MARKER_GEN_START-->
Manage Swarm services

### Subcommands

| Name                              | Description                                          |
|:----------------------------------|:-----------------------------------------------------|
| [`create`](service_create.md)     | Create a new service                                 |
| [`inspect`](service_inspect.md)   | Display detailed information on one or more services |
| [`logs`](service_logs.md)         | Fetch the logs of a service or task                  |
| [`ls`](service_ls.md)             | List services                                        |
| [`ps`](service_ps.md)             | List the tasks of one or more services               |
| [`rm`](service_rm.md)             | Remove one or more services                          |
| [`rollback`](service_rollback.md) | Revert changes to a service's configuration          |
| [`scale`](service_scale.md)       | Scale one or multiple replicated services            |
| [`update`](service_update.md)     | Update a service                                     |



<!---MARKER_GEN_END-->

## 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](https://docs.docker.com/engine/swarm/) in the
> documentation.