1podman-pod-restart(1) General Commands Manual podman-pod-restart(1)
2
3
4
6 podman-pod-restart - Restart one or more pods
7
8
10 podman pod restart [options] pod ...
11
12
14 Restart containers in one or more pods. Running containers are stopped
15 an restarted. Stopped containers are started. You may use pod IDs or
16 names as input. The pod ID is printed upon successful restart. When
17 restarting multiple pods, an error from restarting one pod does not ef‐
18 fect restarting other pods.
19
20
22 --all, -a
23 Restarts all pods
24
25
26 --latest, -l
27 Instead of providing the pod name or ID, restart the last created pod.
28 (This option is not available with the remote Podman client, including
29 Mac and Windows (excluding WSL2) machines)
30
31
33 Restart pod with a given name
34
35 podman pod restart mywebserverpod
36 cc8f0bea67b1a1a11aec1ecd38102a1be4b145577f21fc843c7c83b77fc28907
37
38
39
40 Restart multiple pods with given IDs
41
42 podman pod restart 490eb 3557fb
43 490eb241aaf704d4dd2629904410fe4aa31965d9310a735f8755267f4ded1de5
44 3557fbea6ad61569de0506fe037479bd9896603c31d3069a6677f23833916fab
45
46
47
48 Restart the last created pod
49
50 podman pod restart --latest
51 3557fbea6ad61569de0506fe037479bd9896603c31d3069a6677f23833916fab
52
53
54
55 Restart all pods
56
57 podman pod restart --all
58 19456b4cd557eaf9629825113a552681a6013f8c8cad258e36ab825ef536e818
59 3557fbea6ad61569de0506fe037479bd9896603c31d3069a6677f23833916fab
60 490eb241aaf704d4dd2629904410fe4aa31965d9310a735f8755267f4ded1de5
61 70c358daecf71ef9be8f62404f926080ca0133277ef7ce4f6aa2d5af6bb2d3e9
62 cc8f0bea67b1a1a11aec1ecd38102a1be4b145577f21fc843c7c83b77fc28907
63
64
65
67 podman(1), podman-pod(1), podman-restart(1)
68
69
71 July 2018, Originally compiled by Peter Hunt pehunt@redhat.com
72 ⟨mailto:pehunt@redhat.com⟩
73
74
75
76 podman-pod-restart(1)