Function: containerPause() ​
containerPause(
opts
):Promise
<ContainerPauseResponse
>
Pause a container
Use the freezer cgroup 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 freezer cgroup the process is unaware, and unable to capture, that it is being suspended, and subsequently resumed.
Parameters ​
Parameter | Type |
---|---|
|
Returns ​
Promise
<ContainerPauseResponse
>