Implement Pause Resume support for Windows
Signed-off-by: Darren Stahl <darst@microsoft.com> Upstream-commit: 69985e85d37af827fe2940a35d13e8b20a08fc8c Component: engine
This commit is contained in:
@ -19,11 +19,12 @@ Options:
|
||||
--help Print usage
|
||||
```
|
||||
|
||||
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.
|
||||
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.
|
||||
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.
|
||||
|
||||
See the
|
||||
[cgroups freezer documentation](https://www.kernel.org/doc/Documentation/cgroup-v1/freezer-subsystem.txt)
|
||||
|
||||
@ -19,8 +19,8 @@ Options:
|
||||
--help Print usage
|
||||
```
|
||||
|
||||
The `docker unpause` command uses the cgroups freezer to un-suspend all
|
||||
processes in a container.
|
||||
The `docker unpause` command un-suspends all processes in a container.
|
||||
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)
|
||||
|
||||
Reference in New Issue
Block a user