aboutsummaryrefslogtreecommitdiff
path: root/docs
diff options
context:
space:
mode:
authorhaircommander <pehunt@redhat.com>2018-07-20 13:28:19 -0400
committerAtomic Bot <atomic-devel@projectatomic.io>2018-07-27 14:20:08 +0000
commitf258e43c7c4685102fbbf52303348f434ca8cb3e (patch)
tree6292f4d7ec86f70d0c85a9e9c6c6effaf4234a0e /docs
parent50fea69fbc017fd0da160b083780d933aa5462b5 (diff)
downloadpodman-f258e43c7c4685102fbbf52303348f434ca8cb3e.tar.gz
podman-f258e43c7c4685102fbbf52303348f434ca8cb3e.tar.bz2
podman-f258e43c7c4685102fbbf52303348f434ca8cb3e.zip
Add pod pause/unpause
Added Pause() and Unpause() to libpod/pod.go Added man pages, tests and completions Signed-off-by: haircommander <pehunt@redhat.com> Closes: #1126 Approved by: rhatdan
Diffstat (limited to 'docs')
-rw-r--r--docs/podman-pod-pause.1.md32
-rw-r--r--docs/podman-pod-unpause.1.md32
-rw-r--r--docs/podman-pod.1.md2
3 files changed, 66 insertions, 0 deletions
diff --git a/docs/podman-pod-pause.1.md b/docs/podman-pod-pause.1.md
new file mode 100644
index 000000000..56d63e2e2
--- /dev/null
+++ b/docs/podman-pod-pause.1.md
@@ -0,0 +1,32 @@
+% podman-pod-pause "1"
+
+## NAME
+podman\-pod\-pause - Pause one or more pods
+
+## SYNOPSIS
+**podman pod pause** [*options*] *pod* ...
+
+## DESCRIPTION
+Pauses all the running processes in the containers of one or more pods. You may use pod IDs or names as input.
+
+## OPTIONS
+
+**--all, a**
+
+Pause all pods.
+
+**--latest, -l**
+
+Instead of providing the pod name or ID, pause the last created pod.
+
+## EXAMPLE
+
+podman pod pause mywebserverpod
+
+podman pod pause 860a4b23
+
+## SEE ALSO
+podman-pod(1), podman-pod-unpause(1), podman-pause(1)
+
+## HISTORY
+July 2018, Originally compiled by Peter Hunt <pehunt@redhat.com>
diff --git a/docs/podman-pod-unpause.1.md b/docs/podman-pod-unpause.1.md
new file mode 100644
index 000000000..2c065976c
--- /dev/null
+++ b/docs/podman-pod-unpause.1.md
@@ -0,0 +1,32 @@
+% podman-pod-unpause "1"
+
+## NAME
+podman\-pod\-unpause - Unpause one or more pods
+
+## SYNOPSIS
+**podman pod unpause** [*options*] *pod* ...
+
+## DESCRIPTION
+Unpauses all the paused processes in the containers of one or more pods. You may use pod IDs or names as input.
+
+## OPTIONS
+
+**--all, a**
+
+Unpause all pods.
+
+**--latest, -l**
+
+Instead of providing the pod name or ID, unpause the last created pod.
+
+## EXAMPLE
+
+podman pod unpause mywebserverpod
+
+podman pod unpause 860a4b23
+
+## SEE ALSO
+podman-pod(1), podman-pod-pause(1), podman-unpause(1)
+
+## HISTORY
+July 2018, Originally compiled by Peter Hunt <pehunt@redhat.com>
diff --git a/docs/podman-pod.1.md b/docs/podman-pod.1.md
index 74b6d75b5..56b93819d 100644
--- a/docs/podman-pod.1.md
+++ b/docs/podman-pod.1.md
@@ -15,10 +15,12 @@ podman pod is a set of subcommands that manage pods, or groups of containers.
| ------------------------------------------------- | ------------------------------------------------------------------------------ |
| [podman-pod-create(1)](podman-pod-create.1.md) | Create a new pod. |
| [podman-pod-kill(1)](podman-pod-kill.1.md) | Kill the main process of each container in pod. |
+| [podman-pod-pause(1)](podman-pod-pause.1.md) | Pause one or more pods. |
| [podman-pod-ps(1)](podman-pod-ps.1.md) | Prints out information about pods. |
| [podman-pod-rm(1)](podman-pod-rm.1.md) | Remove one or more pods. |
| [podman-pod-start(1)](podman-pod-start.1.md) | Start one or more pods. |
| [podman-pod-stop(1)](podman-pod-stop.1.md) | Stop one or more pods. |
+| [podman-pod-unpause(1)](podman-pod-unpause.1.md) | Unpause one or more pods. |
## HISTORY
July 2018, Originally compiled by Peter Hunt <pehunt@redhat.com>