Fix order of pause and port in command line documentation.
| ... | ... |
@@ -1328,6 +1328,22 @@ timestamp, for example `2014-09-16T06:17:46.000000000Z`, to each |
| 1328 | 1328 |
log entry. To ensure that the timestamps for are aligned the |
| 1329 | 1329 |
nano-second part of the timestamp will be padded with zero when necessary. |
| 1330 | 1330 |
|
| 1331 |
+## pause |
|
| 1332 |
+ |
|
| 1333 |
+ Usage: docker pause CONTAINER |
|
| 1334 |
+ |
|
| 1335 |
+ Pause all processes within a container |
|
| 1336 |
+ |
|
| 1337 |
+The `docker pause` command uses the cgroups freezer to suspend all processes in |
|
| 1338 |
+a container. Traditionally, when suspending a process the `SIGSTOP` signal is |
|
| 1339 |
+used, which is observable by the process being suspended. With the cgroups freezer |
|
| 1340 |
+the process is unaware, and unable to capture, that it is being suspended, |
|
| 1341 |
+and subsequently resumed. |
|
| 1342 |
+ |
|
| 1343 |
+See the |
|
| 1344 |
+[cgroups freezer documentation](https://www.kernel.org/doc/Documentation/cgroups/freezer-subsystem.txt) |
|
| 1345 |
+for further details. |
|
| 1346 |
+ |
|
| 1331 | 1347 |
## port |
| 1332 | 1348 |
|
| 1333 | 1349 |
Usage: docker port CONTAINER [PRIVATE_PORT[/PROTO]] |
| ... | ... |
@@ -1350,22 +1366,6 @@ just a specific mapping: |
| 1350 | 1350 |
$ sudo docker port test 7890 |
| 1351 | 1351 |
0.0.0.0:4321 |
| 1352 | 1352 |
|
| 1353 |
-## pause |
|
| 1354 |
- |
|
| 1355 |
- Usage: docker pause CONTAINER |
|
| 1356 |
- |
|
| 1357 |
- Pause all processes within a container |
|
| 1358 |
- |
|
| 1359 |
-The `docker pause` command uses the cgroups freezer to suspend all processes in |
|
| 1360 |
-a container. Traditionally when suspending a process the `SIGSTOP` signal is |
|
| 1361 |
-used, which is observable by the process being suspended. With the cgroups freezer |
|
| 1362 |
-the process is unaware, and unable to capture, that it is being suspended, |
|
| 1363 |
-and subsequently resumed. |
|
| 1364 |
- |
|
| 1365 |
-See the |
|
| 1366 |
-[cgroups freezer documentation](https://www.kernel.org/doc/Documentation/cgroups/freezer-subsystem.txt) |
|
| 1367 |
-for further details. |
|
| 1368 |
- |
|
| 1369 | 1353 |
## ps |
| 1370 | 1354 |
|
| 1371 | 1355 |
Usage: docker ps [OPTIONS] |