mirror of
https://github.com/docker/docs.git
synced 2026-04-12 06:19:22 +07:00
vendor: github.com/docker/cli 01f933261885
Signed-off-by: David Karlsson <35727626+dvdksn@users.noreply.github.com>
This commit is contained in:
@@ -1,17 +1,7 @@
|
||||
command: docker pause
|
||||
aliases: docker container pause, docker pause
|
||||
short: Pause all processes within one or more containers
|
||||
long: |-
|
||||
The `docker pause` command suspends all processes in the specified containers.
|
||||
On Linux, this uses the freezer cgroup. Traditionally, when suspending a process
|
||||
the `SIGSTOP` signal is used, which is observable by the process being suspended.
|
||||
With the freezer cgroup the process is unaware, and unable to capture,
|
||||
that it is being suspended, and subsequently resumed. On Windows, only Hyper-V
|
||||
containers can be paused.
|
||||
|
||||
See the
|
||||
[freezer cgroup documentation](https://www.kernel.org/doc/Documentation/cgroup-v1/freezer-subsystem.txt)
|
||||
for further details.
|
||||
long: Pause all processes within one or more containers
|
||||
usage: docker pause CONTAINER [CONTAINER...]
|
||||
pname: docker
|
||||
plink: docker.yaml
|
||||
@@ -26,10 +16,6 @@ inherited_options:
|
||||
experimentalcli: false
|
||||
kubernetes: false
|
||||
swarm: false
|
||||
examples: |-
|
||||
```console
|
||||
$ docker pause my_container
|
||||
```
|
||||
deprecated: false
|
||||
experimental: false
|
||||
experimentalcli: false
|
||||
|
||||
Reference in New Issue
Block a user