Browse code

Add cgroups freezer info

Docker-DCO-1.1-Signed-off-by: Brian Goff <cpuguy83@gmail.com> (github: cpuguy83)

Docker-DCO-1.1-Signed-off-by: Brian Goff <cpuguy83@gmail.com> (github: SvenDowideit)

Brian Goff authored on 2014/07/09 10:47:55
Showing 1 changed files
... ...
@@ -764,7 +764,14 @@ log entry.
764 764
 
765 765
     Usage: docker pause CONTAINER
766 766
 
767
-    Pause all processes within a container
767
+    Pause uses the cgroups freezer to suspend all processes in a container.
768
+    Traditionally when suspending a process the SIGSTOP signal is used,
769
+    which is observable by the process being suspended. With the cgroups freezer
770
+    the process is unaware, and unable to capture, that it is being suspended,
771
+    and subsequently resumed.
772
+
773
+    For for information on the cgroups freezer see:
774
+    https://www.kernel.org/doc/Documentation/cgroups/freezer-subsystem.txt
768 775
 
769 776
 ## ps
770 777
 
... ...
@@ -1273,7 +1280,7 @@ them to [*Share Images via Repositories*](
1273 1273
 
1274 1274
     Usage: docker unpause CONTAINER
1275 1275
 
1276
-    Pause all processes within a container
1276
+    Resumes a paused container.
1277 1277
 
1278 1278
 ## version
1279 1279