diff options
author | haircommander <pehunt@redhat.com> | 2018-07-23 16:02:46 -0400 |
---|---|---|
committer | Atomic Bot <atomic-devel@projectatomic.io> | 2018-07-25 17:54:27 +0000 |
commit | 8ce0e0b2460220fccbb31fced940604b55d8a195 (patch) | |
tree | 87af55c87040d4f61424f19e19e778051e184a41 /docs | |
parent | 7789284cbe8f5068d66c90c257b9784505d4a027 (diff) | |
download | podman-8ce0e0b2460220fccbb31fced940604b55d8a195.tar.gz podman-8ce0e0b2460220fccbb31fced940604b55d8a195.tar.bz2 podman-8ce0e0b2460220fccbb31fced940604b55d8a195.zip |
Added pod restart
With tests, man page and completions.
Signed-off-by: haircommander <pehunt@redhat.com>
Closes: #1152
Approved by: rhatdan
Diffstat (limited to 'docs')
-rw-r--r-- | docs/podman-pod-restart.1.md | 50 |
1 files changed, 50 insertions, 0 deletions
diff --git a/docs/podman-pod-restart.1.md b/docs/podman-pod-restart.1.md new file mode 100644 index 000000000..0990cf840 --- /dev/null +++ b/docs/podman-pod-restart.1.md @@ -0,0 +1,50 @@ +% podman-pod-restart "1" + +## NAME +podman\-pod\-restart - Restart one or more pods + +## SYNOPSIS +**podman pod restart** [*options*] *pod* ... + +## DESCRIPTION +Restart containers in one or more pods. Containers will be stopped if running and then restarted. +Stopped containers will only be started. You may use pod IDs or names as input. +The pod ID will be printed upon successful restart. +When restarting multiple pods, an error from restarting one pod will not effect restarting other pods. + +## OPTIONS + +**--all, -a** + +Restarts all pods + +**--latest, -l** + +Instead of providing the pod name or ID, restart the last created pod. + +## EXAMPLE + +podman pod restart mywebserverpod +cc8f0bea67b1a1a11aec1ecd38102a1be4b145577f21fc843c7c83b77fc28907 + +podman pod restart 490eb 3557fb +490eb241aaf704d4dd2629904410fe4aa31965d9310a735f8755267f4ded1de5 +3557fbea6ad61569de0506fe037479bd9896603c31d3069a6677f23833916fab + +3557fbea6ad61569de0506fe037479bd9896603c31d3069a6677f23833916fab + +podman pod restart --latest +3557fbea6ad61569de0506fe037479bd9896603c31d3069a6677f23833916fab + +podman pod restart --all +19456b4cd557eaf9629825113a552681a6013f8c8cad258e36ab825ef536e818 +3557fbea6ad61569de0506fe037479bd9896603c31d3069a6677f23833916fab +490eb241aaf704d4dd2629904410fe4aa31965d9310a735f8755267f4ded1de5 +70c358daecf71ef9be8f62404f926080ca0133277ef7ce4f6aa2d5af6bb2d3e9 +cc8f0bea67b1a1a11aec1ecd38102a1be4b145577f21fc843c7c83b77fc28907 + +## SEE ALSO +podman-pod(1), podman-pod-start(1), podman-restart(1) + +## HISTORY +July 2018, Originally compiled by Peter Hunt <pehunt@redhat.com> |