summaryrefslogtreecommitdiff
path: root/docs/source/markdown/podman-pod-restart.1.md
diff options
context:
space:
mode:
authorOpenShift Merge Robot <openshift-merge-robot@users.noreply.github.com>2022-08-27 07:23:08 -0400
committerGitHub <noreply@github.com>2022-08-27 07:23:08 -0400
commitd68eea60148e9fa4e24697104caa691b7e783380 (patch)
tree82e034d4c49dd997e3e697f275baef3a5ed69aad /docs/source/markdown/podman-pod-restart.1.md
parentb1cbcff5c5f42fbd1cc62167e0021b4c27e25c5a (diff)
parent11de12097fa21f696ca70218b15a0552663e7e22 (diff)
downloadpodman-d68eea60148e9fa4e24697104caa691b7e783380.tar.gz
podman-d68eea60148e9fa4e24697104caa691b7e783380.tar.bz2
podman-d68eea60148e9fa4e24697104caa691b7e783380.zip
Merge pull request #15507 from patrycja-guzik/docs-examples
[CI:DOCS] Fix example sections to follow the same format
Diffstat (limited to 'docs/source/markdown/podman-pod-restart.1.md')
-rw-r--r--docs/source/markdown/podman-pod-restart.1.md11
1 files changed, 10 insertions, 1 deletions
diff --git a/docs/source/markdown/podman-pod-restart.1.md b/docs/source/markdown/podman-pod-restart.1.md
index 677eca3a3..51f13dbf8 100644
--- a/docs/source/markdown/podman-pod-restart.1.md
+++ b/docs/source/markdown/podman-pod-restart.1.md
@@ -24,17 +24,27 @@ Instead of providing the pod name or ID, restart the last created pod. (This opt
## EXAMPLE
+Restart pod with a given name
```
podman pod restart mywebserverpod
cc8f0bea67b1a1a11aec1ecd38102a1be4b145577f21fc843c7c83b77fc28907
+```
+Restart multiple pods with given IDs
+```
podman pod restart 490eb 3557fb
490eb241aaf704d4dd2629904410fe4aa31965d9310a735f8755267f4ded1de5
3557fbea6ad61569de0506fe037479bd9896603c31d3069a6677f23833916fab
+```
+Restart the last created pod
+```
podman pod restart --latest
3557fbea6ad61569de0506fe037479bd9896603c31d3069a6677f23833916fab
+```
+Restart all pods
+```
podman pod restart --all
19456b4cd557eaf9629825113a552681a6013f8c8cad258e36ab825ef536e818
3557fbea6ad61569de0506fe037479bd9896603c31d3069a6677f23833916fab
@@ -42,7 +52,6 @@ podman pod restart --all
70c358daecf71ef9be8f62404f926080ca0133277ef7ce4f6aa2d5af6bb2d3e9
cc8f0bea67b1a1a11aec1ecd38102a1be4b145577f21fc843c7c83b77fc28907
```
-
## SEE ALSO
**[podman(1)](podman.1.md)**, **[podman-pod(1)](podman-pod.1.md)**, **[podman-restart(1)](podman-restart.1.md)**