Browse Source

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 11 năm trước cách đây
mục cha
commit
3957d72f9c
1 tập tin đã thay đổi với 9 bổ sung2 xóa
  1. 9 2
      docs/sources/reference/commandline/cli.md

+ 9 - 2
docs/sources/reference/commandline/cli.md

@@ -764,7 +764,14 @@ log entry.
 
     Usage: docker pause CONTAINER
 
-    Pause all processes within a container
+    Pause uses the cgroups freezer 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 cgroups freezer
+    the process is unaware, and unable to capture, that it is being suspended,
+    and subsequently resumed.
+
+    For for information on the cgroups freezer see:
+    https://www.kernel.org/doc/Documentation/cgroups/freezer-subsystem.txt
 
 ## ps
 
@@ -1273,7 +1280,7 @@ them to [*Share Images via Repositories*](
 
     Usage: docker unpause CONTAINER
 
-    Pause all processes within a container
+    Resumes a paused container.
 
 ## version