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       # 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       # podman network reload --all
57       b1b538e8bc4078fc3ee1c95b666ebc7449b9a97bacd15bcbe464a29e1be59c1c
58       fe7e8eca56f844ec33af10f0aa3b31b44a172776e3277b9550a623ed5d96e72b
59
60
61

SEE ALSO

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

HISTORY

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