github.com/containers/podman/v2@v2.2.2-0.20210501105131-c1e07d070c4c/docs/source/markdown/podman-pod-restart.1.md (about) 1 % podman-pod-restart(1) 2 3 ## NAME 4 podman\-pod\-restart - Restart one or more pods 5 6 ## SYNOPSIS 7 **podman pod restart** [*options*] *pod* ... 8 9 ## DESCRIPTION 10 Restart containers in one or more pods. Containers will be stopped if running and then restarted. 11 Stopped containers will only be started. You may use pod IDs or names as input. 12 The pod ID will be printed upon successful restart. 13 When restarting multiple pods, an error from restarting one pod will not effect restarting other pods. 14 15 ## OPTIONS 16 17 #### **--all**, **-a** 18 19 Restarts all pods 20 21 #### **--latest**, **-l** 22 23 Instead of providing the pod name or ID, restart the last created pod. 24 25 The latest option is not supported on the remote client. 26 27 ## EXAMPLE 28 29 ``` 30 podman pod restart mywebserverpod 31 cc8f0bea67b1a1a11aec1ecd38102a1be4b145577f21fc843c7c83b77fc28907 32 33 podman pod restart 490eb 3557fb 34 490eb241aaf704d4dd2629904410fe4aa31965d9310a735f8755267f4ded1de5 35 3557fbea6ad61569de0506fe037479bd9896603c31d3069a6677f23833916fab 36 37 podman pod restart --latest 38 3557fbea6ad61569de0506fe037479bd9896603c31d3069a6677f23833916fab 39 40 podman pod restart --all 41 19456b4cd557eaf9629825113a552681a6013f8c8cad258e36ab825ef536e818 42 3557fbea6ad61569de0506fe037479bd9896603c31d3069a6677f23833916fab 43 490eb241aaf704d4dd2629904410fe4aa31965d9310a735f8755267f4ded1de5 44 70c358daecf71ef9be8f62404f926080ca0133277ef7ce4f6aa2d5af6bb2d3e9 45 cc8f0bea67b1a1a11aec1ecd38102a1be4b145577f21fc843c7c83b77fc28907 46 ``` 47 48 ## SEE ALSO 49 podman-pod(1), podman-pod-start(1), podman-restart(1) 50 51 ## HISTORY 52 July 2018, Originally compiled by Peter Hunt <pehunt@redhat.com>