1podman-network-reload(1)    General Commands Manual   podman-network-reload(1)
2
3
4

NAME

6       podman-network-reload - Reload network configuration for containers
7
8

SYNOPSIS

10       podman network reload [options] [container...]
11
12

DESCRIPTION

14       Reload one or more container network configurations.
15
16
17       Rootful  Podman  relies  on  iptables rules in order to provide network
18       connectivity. If the iptables rules are deleted, this happens for exam‐
19       ple  with firewall-cmd --reload, the container loses network connectiv‐
20       ity. This command restores the network connectivity.
21
22

OPTIONS

24   --all, -a
25       Reload network configuration of all containers.
26
27
28   --latest, -l
29       Instead of providing the container name or ID,  use  the  last  created
30       container.  Note: the last started container can be from other users of
31       Podman on the host machine.  (This option is not available with the re‐
32       mote  Podman  client,  including  Mac  and Windows (excluding WSL2) ma‐
33       chines)
34
35

EXAMPLE

37       Reload the network configuration after a firewall reload.
38
39
40              # podman run -p 80:80 -d nginx
41              b1b538e8bc4078fc3ee1c95b666ebc7449b9a97bacd15bcbe464a29e1be59c1c
42              # curl 127.0.0.1
43              works
44              # sudo firewall-cmd --reload
45              success
46              # curl 127.0.0.1
47              hangs
48              # podman network reload b1b538e8bc40
49              b1b538e8bc4078fc3ee1c95b666ebc7449b9a97bacd15bcbe464a29e1be59c1c
50              # curl 127.0.0.1
51              works
52
53
54
55       Reload the network configuration for all containers.
56
57
58              # podman network reload --all
59              b1b538e8bc4078fc3ee1c95b666ebc7449b9a97bacd15bcbe464a29e1be59c1c
60              fe7e8eca56f844ec33af10f0aa3b31b44a172776e3277b9550a623ed5d96e72b
61
62
63

SEE ALSO

65       podman(1), podman-network(1)
66
67

HISTORY

69       December    2020,    Originally    compiled    by    Paul     Holzinger
70       paul.holzinger@web.de ⟨mailto:paul.holzinger@web.de⟩
71
72
73
74                                                      podman-network-reload(1)
Impressum