فهرست منبع

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 سال پیش
والد
کامیت
3957d72f9c
1فایلهای تغییر یافته به همراه9 افزوده شده و 2 حذف شده
  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
     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
 ## ps
 
 
@@ -1273,7 +1280,7 @@ them to [*Share Images via Repositories*](
 
 
     Usage: docker unpause CONTAINER
     Usage: docker unpause CONTAINER
 
 
-    Pause all processes within a container
+    Resumes a paused container.
 
 
 ## version
 ## version