浏览代码

re-jig the info into all the places

Docker-DCO-1.1-Signed-off-by: SvenDowideit <SvenDowideit@home.org.au> (github: SvenDowideit)
SvenDowideit 11 年之前
父节点
当前提交
58955a30ff
共有 3 个文件被更改,包括 38 次插入7 次删除
  1. 12 0
      docs/man/docker-pause.1.md
  2. 9 0
      docs/man/docker-unpause.1.md
  3. 17 7
      docs/sources/reference/commandline/cli.md

+ 12 - 0
docs/man/docker-pause.1.md

@@ -8,6 +8,18 @@ docker-pause - Pause all processes within a container
 **docker pause**
 **docker pause**
 CONTAINER
 CONTAINER
 
 
+# DESCRIPTION
+
+The `docker pause` command 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.
+
+See the [cgroups freezer documentation]
+(https://www.kernel.org/doc/Documentation/cgroups/freezer-subsystem.txt) for
+further details.
+
 # OPTIONS
 # OPTIONS
 There are no available options.
 There are no available options.
 
 

+ 9 - 0
docs/man/docker-unpause.1.md

@@ -8,6 +8,15 @@ docker-unpause - Unpause all processes within a container
 **docker unpause**
 **docker unpause**
 CONTAINER
 CONTAINER
 
 
+# DESCRIPTION
+
+The `docker unpause` command uses the cgroups freezer to un-suspend all
+processes in a container.
+
+See the [cgroups freezer documentation]
+(https://www.kernel.org/doc/Documentation/cgroups/freezer-subsystem.txt) for
+further details.
+
 # OPTIONS
 # OPTIONS
 There are no available options.
 There are no available options.
 
 

+ 17 - 7
docs/sources/reference/commandline/cli.md

@@ -764,14 +764,17 @@ log entry.
 
 
     Usage: docker pause CONTAINER
     Usage: docker pause 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.
+    Pause all processes within a container
 
 
-    For for information on the cgroups freezer see:
-    https://www.kernel.org/doc/Documentation/cgroups/freezer-subsystem.txt
+The `docker pause` command 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.
+
+See the [cgroups freezer documentation]
+(https://www.kernel.org/doc/Documentation/cgroups/freezer-subsystem.txt) for
+further details.
 
 
 ## ps
 ## ps
 
 
@@ -1282,6 +1285,13 @@ them to [*Share Images via Repositories*](
 
 
     Resumes a paused container.
     Resumes a paused container.
 
 
+The `docker unpause` command uses the cgroups freezer to un-suspend all
+processes in a container.
+
+See the [cgroups freezer documentation]
+(https://www.kernel.org/doc/Documentation/cgroups/freezer-subsystem.txt) for
+further details.
+
 ## version
 ## version
 
 
     Usage: docker version
     Usage: docker version