暂停docker集装箱

暂停一个容器是什么意思? 特别是,暂停一个stream程是什么意思?

https://docs.docker.com/compose/reference/pause/

根据Docker 文档 ,docker-compose pause命令执行以下操作:

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. 

这是Docket文档所说的:

docker pause命令暂停指定容器中的所有进程。 在Linux上,这使用cgroups冷冻机。 传统上,当暂停进程时,使用SIGSTOP信号,这是暂停进程可以观察到的。 cgroups冷冻机的过程是不知道的,无法捕捉,它被暂停,并随后恢复。 在Windows上,只能暂停Hyper-V容器。

这意味着容器中的进程停止运行,并且可以稍后恢复。