mirror of
https://github.com/containers/podman.git
synced 2025-05-21 17:16:22 +08:00

Operations like kill, pause, and unpause -- which can operation on one or more containers -- can greatly benefit from parallizing its main job (eq kill). In the case of pauseand unpause, an --all option as was added. pause --all will pause all **running** containers. And unpause --all will unpause all **paused** containers. Signed-off-by: baude <bbaude@redhat.com>
40 lines
642 B
Markdown
40 lines
642 B
Markdown
% podman-pause(1)
|
|
|
|
## NAME
|
|
podman\-pause - Pause one or more containers
|
|
|
|
## SYNOPSIS
|
|
**podman pause** [*options*] [*container*...]
|
|
|
|
## DESCRIPTION
|
|
Pauses all the processes in one or more containers. You may use container IDs or names as input.
|
|
|
|
## OPTIONS
|
|
|
|
**--all, -a**
|
|
|
|
Pause all running containers.
|
|
|
|
## EXAMPLE
|
|
|
|
Pause a container named 'mywebserver'
|
|
```
|
|
podman pause mywebserver
|
|
```
|
|
|
|
Pause a container by partial container ID.
|
|
```
|
|
podman pause 860a4b23
|
|
```
|
|
|
|
Pause all **running** containers.
|
|
```
|
|
podman stop -a
|
|
```
|
|
|
|
## SEE ALSO
|
|
podman(1), podman-unpause(1)
|
|
|
|
## HISTORY
|
|
September 2017, Originally compiled by Dan Walsh <dwalsh@redhat.com>
|