github.com/containers/podman/v5@v5.1.0-rc1/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. Running containers are stopped and restarted. 11 Stopped containers are started. You may use pod IDs or names as input. 12 The pod ID is printed upon successful restart. 13 When restarting multiple pods, an error from restarting one pod does 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. (This option is not available with the remote Podman client, including Mac and Windows (excluding WSL2) machines) 24 25 ## EXAMPLE 26 27 Restart pod with a given name: 28 ``` 29 podman pod restart mywebserverpod 30 cc8f0bea67b1a1a11aec1ecd38102a1be4b145577f21fc843c7c83b77fc28907 31 ``` 32 33 Restart multiple pods with given IDs: 34 ``` 35 podman pod restart 490eb 3557fb 36 490eb241aaf704d4dd2629904410fe4aa31965d9310a735f8755267f4ded1de5 37 3557fbea6ad61569de0506fe037479bd9896603c31d3069a6677f23833916fab 38 ``` 39 40 Restart the last created pod: 41 ``` 42 podman pod restart --latest 43 3557fbea6ad61569de0506fe037479bd9896603c31d3069a6677f23833916fab 44 ``` 45 46 Restart all pods: 47 ``` 48 podman pod restart --all 49 19456b4cd557eaf9629825113a552681a6013f8c8cad258e36ab825ef536e818 50 3557fbea6ad61569de0506fe037479bd9896603c31d3069a6677f23833916fab 51 490eb241aaf704d4dd2629904410fe4aa31965d9310a735f8755267f4ded1de5 52 70c358daecf71ef9be8f62404f926080ca0133277ef7ce4f6aa2d5af6bb2d3e9 53 cc8f0bea67b1a1a11aec1ecd38102a1be4b145577f21fc843c7c83b77fc28907 54 ``` 55 ## SEE ALSO 56 **[podman(1)](podman.1.md)**, **[podman-pod(1)](podman-pod.1.md)**, **[podman-restart(1)](podman-restart.1.md)** 57 58 ## HISTORY 59 July 2018, Originally compiled by Peter Hunt <pehunt@redhat.com>