mirror of https://github.com/docker/cli.git
Implement Pause Resume support for Windows
Signed-off-by: Darren Stahl <darst@microsoft.com>
This commit is contained in:
parent
ae466f2405
commit
f7bfe86440
|
@ -19,11 +19,12 @@ Options:
|
||||||
--help Print usage
|
--help Print usage
|
||||||
```
|
```
|
||||||
|
|
||||||
The `docker pause` command uses the cgroups freezer to suspend all processes in
|
The `docker pause` command suspends all processes in a container. On Linux,
|
||||||
a container. Traditionally, when suspending a process the `SIGSTOP` signal is
|
this uses the cgroups freezer. Traditionally, when suspending a process the
|
||||||
used, which is observable by the process being suspended. With the cgroups freezer
|
`SIGSTOP` signal is used, which is observable by the process being suspended.
|
||||||
the process is unaware, and unable to capture, that it is being suspended,
|
With the cgroups freezer the process is unaware, and unable to capture,
|
||||||
and subsequently resumed.
|
that it is being suspended, and subsequently resumed. On Windows, only Hyper-V
|
||||||
|
containers can be paused.
|
||||||
|
|
||||||
See the
|
See the
|
||||||
[cgroups freezer documentation](https://www.kernel.org/doc/Documentation/cgroup-v1/freezer-subsystem.txt)
|
[cgroups freezer documentation](https://www.kernel.org/doc/Documentation/cgroup-v1/freezer-subsystem.txt)
|
||||||
|
|
|
@ -19,8 +19,8 @@ Options:
|
||||||
--help Print usage
|
--help Print usage
|
||||||
```
|
```
|
||||||
|
|
||||||
The `docker unpause` command uses the cgroups freezer to un-suspend all
|
The `docker unpause` command un-suspends all processes in a container.
|
||||||
processes in a container.
|
On Linux, it does this using the cgroups freezer.
|
||||||
|
|
||||||
See the
|
See the
|
||||||
[cgroups freezer documentation](https://www.kernel.org/doc/Documentation/cgroup-v1/freezer-subsystem.txt)
|
[cgroups freezer documentation](https://www.kernel.org/doc/Documentation/cgroup-v1/freezer-subsystem.txt)
|
||||||
|
|
|
@ -10,11 +10,12 @@ CONTAINER [CONTAINER...]
|
||||||
|
|
||||||
# DESCRIPTION
|
# DESCRIPTION
|
||||||
|
|
||||||
The `docker pause` command uses the cgroups freezer to suspend all processes in
|
The `docker pause` command suspends all processes in a container. On Linux,
|
||||||
a container. Traditionally when suspending a process the `SIGSTOP` signal is
|
this uses the cgroups freezer. Traditionally, when suspending a process the
|
||||||
used, which is observable by the process being suspended. With the cgroups freezer
|
`SIGSTOP` signal is used, which is observable by the process being suspended.
|
||||||
the process is unaware, and unable to capture, that it is being suspended,
|
With the cgroups freezer the process is unaware, and unable to capture,
|
||||||
and subsequently resumed.
|
that it is being suspended, and subsequently resumed. On Windows, only Hyper-V
|
||||||
|
containers can be paused.
|
||||||
|
|
||||||
See the [cgroups freezer documentation]
|
See the [cgroups freezer documentation]
|
||||||
(https://www.kernel.org/doc/Documentation/cgroups/freezer-subsystem.txt) for
|
(https://www.kernel.org/doc/Documentation/cgroups/freezer-subsystem.txt) for
|
||||||
|
|
|
@ -10,8 +10,8 @@ CONTAINER [CONTAINER...]
|
||||||
|
|
||||||
# DESCRIPTION
|
# DESCRIPTION
|
||||||
|
|
||||||
The `docker unpause` command uses the cgroups freezer to un-suspend all
|
The `docker unpause` command un-suspends all processes in a container.
|
||||||
processes in a container.
|
On Linux, it does this using the cgroups freezer.
|
||||||
|
|
||||||
See the [cgroups freezer documentation]
|
See the [cgroups freezer documentation]
|
||||||
(https://www.kernel.org/doc/Documentation/cgroups/freezer-subsystem.txt) for
|
(https://www.kernel.org/doc/Documentation/cgroups/freezer-subsystem.txt) for
|
||||||
|
|
Loading…
Reference in New Issue