1podman-pod-restart(1)       General Commands Manual      podman-pod-restart(1)
2
3
4

NAME

6       podman-pod-restart - Restart one or more pods
7
8

SYNOPSIS

10       podman pod restart [options] pod ...
11
12

DESCRIPTION

14       Restart  containers  in one or more pods. Containers will be stopped if
15       running and then restarted.  Stopped containers will only  be  started.
16       You may use pod IDs or names as input.  The pod ID will be printed upon
17       successful restart.  When  restarting  multiple  pods,  an  error  from
18       restarting one pod will not effect restarting other pods.
19
20

OPTIONS

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

EXAMPLE

33       Restart pod with a given name
34
35
36              podman pod restart mywebserverpod
37              cc8f0bea67b1a1a11aec1ecd38102a1be4b145577f21fc843c7c83b77fc28907
38
39
40
41       Restart multiple pods with given IDs
42
43
44              podman pod restart 490eb 3557fb
45              490eb241aaf704d4dd2629904410fe4aa31965d9310a735f8755267f4ded1de5
46              3557fbea6ad61569de0506fe037479bd9896603c31d3069a6677f23833916fab
47
48
49
50       Restart the last created pod
51
52
53              podman pod restart --latest
54              3557fbea6ad61569de0506fe037479bd9896603c31d3069a6677f23833916fab
55
56
57
58       Restart all pods
59
60
61              podman pod restart --all
62              19456b4cd557eaf9629825113a552681a6013f8c8cad258e36ab825ef536e818
63              3557fbea6ad61569de0506fe037479bd9896603c31d3069a6677f23833916fab
64              490eb241aaf704d4dd2629904410fe4aa31965d9310a735f8755267f4ded1de5
65              70c358daecf71ef9be8f62404f926080ca0133277ef7ce4f6aa2d5af6bb2d3e9
66              cc8f0bea67b1a1a11aec1ecd38102a1be4b145577f21fc843c7c83b77fc28907
67
68
69

SEE ALSO

71       podman(1), podman-pod(1), podman-restart(1)
72
73

HISTORY

75       July   2018,   Originally  compiled  by  Peter  Hunt  pehunt@redhat.com
76       ⟨mailto:pehunt@redhat.com⟩
77
78
79
80                                                         podman-pod-restart(1)
Impressum