1podman-network-reload(1)()                          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       Rootfull  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.  If you use methods other than Podman to run containers such
31       as CRI-O, the last started container could  be  from  either  of  those
32       methods. (This option is not available with the remote Podman client)
33
34

EXAMPLE

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

SEE ALSO

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

HISTORY

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