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
23       This command is not available for rootless users  since  rootless  con‐
24       tainers are not affected by such connectivity problems.
25
26

OPTIONS

28   --all, -a
29       Reload network configuration of all containers.
30
31
32   --latest, -l
33       Instead  of  providing  the  container name or ID, use the last created
34       container. If you use methods other than Podman to run containers  such
35       as  CRI-O,  the  last  started  container could be from either of those
36       methods. (This option is not available with the remote Podman client)
37
38

EXAMPLE

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

SEE ALSO

68       podman(1), podman-network(1)
69
70

HISTORY

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