File: service.md

package info (click to toggle)
docker.io 27.5.1%2Bdfsg4-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 67,384 kB
  • sloc: sh: 5,847; makefile: 1,146; ansic: 664; python: 162; asm: 133
file content (32 lines) | stat: -rw-r--r-- 1,400 bytes parent folder | download | duplicates (3)
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
# 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.