github.com/sijibomii/docker@v0.0.0-20231230191044-5cf6ca554647/docs/reference/commandline/pause.md (about) 1 <!--[metadata]> 2 +++ 3 title = "pause" 4 description = "The pause command description and usage" 5 keywords = ["cgroups, container, suspend, SIGSTOP"] 6 [menu.main] 7 parent = "smn_cli" 8 +++ 9 <![end-metadata]--> 10 11 # pause 12 13 Usage: docker pause [OPTIONS] CONTAINER [CONTAINER...] 14 15 Pause all processes within a container 16 17 --help Print usage 18 19 The `docker pause` command uses the cgroups freezer to suspend all processes in 20 a container. Traditionally, when suspending a process the `SIGSTOP` signal is 21 used, which is observable by the process being suspended. With the cgroups freezer 22 the process is unaware, and unable to capture, that it is being suspended, 23 and subsequently resumed. 24 25 See the 26 [cgroups freezer documentation](https://www.kernel.org/doc/Documentation/cgroups/freezer-subsystem.txt) 27 for further details.