Merge pull request #29434 from yuexiao-wang/pause-and-unpause
Fix inconsistency for pause and unpause Upstream-commit: ba76c9214dbbc5d6276a20136eb3c454a1aa0969 Component: engine
This commit is contained in:
@@ -24,9 +24,9 @@ Options:
|
||||
--help Print usage
|
||||
```
|
||||
|
||||
The `docker pause` command suspends all processes in a container. On Linux,
|
||||
this uses the cgroups freezer. Traditionally, when suspending a process the
|
||||
`SIGSTOP` signal is used, which is observable by the process being suspended.
|
||||
The `docker pause` command suspends all processes in the specified containers.
|
||||
On Linux, this uses the cgroups freezer. 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. On Windows, only Hyper-V
|
||||
containers can be paused.
|
||||
@@ -34,3 +34,7 @@ containers can be paused.
|
||||
See the
|
||||
[cgroups freezer documentation](https://www.kernel.org/doc/Documentation/cgroup-v1/freezer-subsystem.txt)
|
||||
for further details.
|
||||
|
||||
## Related information
|
||||
|
||||
* [unpause](unpause.md)
|
||||
|
||||
@@ -24,9 +24,13 @@ Options:
|
||||
--help Print usage
|
||||
```
|
||||
|
||||
The `docker unpause` command un-suspends all processes in a container.
|
||||
The `docker unpause` command un-suspends all processes in the specified containers.
|
||||
On Linux, it does this using the cgroups freezer.
|
||||
|
||||
See the
|
||||
[cgroups freezer documentation](https://www.kernel.org/doc/Documentation/cgroup-v1/freezer-subsystem.txt)
|
||||
for further details.
|
||||
|
||||
## Related information
|
||||
|
||||
* [pause](pause.md)
|
||||
|
||||
Reference in New Issue
Block a user