Merge pull request #6601 from SvenDowideit/6510-docker-pause-docs
6510 docker pause docs Upstream-commit: 3b3f0fa085c9a5208587c1ac2e69c2e9f8d727ed Component: engine
This commit is contained in:
@ -8,6 +8,18 @@ docker-pause - Pause all processes within a container
|
||||
**docker pause**
|
||||
CONTAINER
|
||||
|
||||
# DESCRIPTION
|
||||
|
||||
The `docker pause` command uses the cgroups freezer to suspend all processes in
|
||||
a container. Traditionally when suspending a process the `SIGSTOP` signal is
|
||||
used, which is observable by the process being suspended. With the cgroups freezer
|
||||
the process is unaware, and unable to capture, that it is being suspended,
|
||||
and subsequently resumed.
|
||||
|
||||
See the [cgroups freezer documentation]
|
||||
(https://www.kernel.org/doc/Documentation/cgroups/freezer-subsystem.txt) for
|
||||
further details.
|
||||
|
||||
# OPTIONS
|
||||
There are no available options.
|
||||
|
||||
|
||||
@ -8,6 +8,15 @@ docker-unpause - Unpause all processes within a container
|
||||
**docker unpause**
|
||||
CONTAINER
|
||||
|
||||
# DESCRIPTION
|
||||
|
||||
The `docker unpause` command uses the cgroups freezer to un-suspend all
|
||||
processes in a container.
|
||||
|
||||
See the [cgroups freezer documentation]
|
||||
(https://www.kernel.org/doc/Documentation/cgroups/freezer-subsystem.txt) for
|
||||
further details.
|
||||
|
||||
# OPTIONS
|
||||
There are no available options.
|
||||
|
||||
|
||||
@ -760,6 +760,22 @@ log entry.
|
||||
|
||||
Lookup the public-facing port that is NAT-ed to PRIVATE_PORT
|
||||
|
||||
## pause
|
||||
|
||||
Usage: docker pause CONTAINER
|
||||
|
||||
Pause all processes within a container
|
||||
|
||||
The `docker pause` command uses the cgroups freezer to suspend all processes in
|
||||
a container. Traditionally when suspending a process the `SIGSTOP` signal is
|
||||
used, which is observable by the process being suspended. With the cgroups freezer
|
||||
the process is unaware, and unable to capture, that it is being suspended,
|
||||
and subsequently resumed.
|
||||
|
||||
See the [cgroups freezer documentation]
|
||||
(https://www.kernel.org/doc/Documentation/cgroups/freezer-subsystem.txt) for
|
||||
further details.
|
||||
|
||||
## ps
|
||||
|
||||
Usage: docker ps [OPTIONS]
|
||||
@ -1263,6 +1279,19 @@ them to [*Share Images via Repositories*](
|
||||
|
||||
Display the running processes of a container
|
||||
|
||||
## unpause
|
||||
|
||||
Usage: docker unpause CONTAINER
|
||||
|
||||
Resumes a paused container.
|
||||
|
||||
The `docker unpause` command uses the cgroups freezer to un-suspend all
|
||||
processes in a container.
|
||||
|
||||
See the [cgroups freezer documentation]
|
||||
(https://www.kernel.org/doc/Documentation/cgroups/freezer-subsystem.txt) for
|
||||
further details.
|
||||
|
||||
## version
|
||||
|
||||
Usage: docker version
|
||||
|
||||
Reference in New Issue
Block a user