github.com/containers/podman/v5@v5.1.0-rc1/docs/source/markdown/podman-network-reload.1.md.in (about)

     1  % podman-network-reload 1
     2  
     3  ## NAME
     4  podman\-network\-reload - Reload network configuration for containers
     5  
     6  ## SYNOPSIS
     7  **podman network reload** [*options*] [*container...*]
     8  
     9  ## DESCRIPTION
    10  Reload one or more container network configurations.
    11  
    12  Rootful Podman relies on iptables rules in order to provide network connectivity. If the iptables rules are deleted,
    13  this happens for example with `firewall-cmd --reload`, the container loses network connectivity. This command restores
    14  the network connectivity.
    15  
    16  ## OPTIONS
    17  #### **--all**, **-a**
    18  
    19  Reload network configuration of all containers.
    20  
    21  @@option latest
    22  
    23  ## EXAMPLE
    24  
    25  Reload the network configuration after a firewall reload:
    26  ```
    27  # podman run -p 80:80 -d nginx
    28  b1b538e8bc4078fc3ee1c95b666ebc7449b9a97bacd15bcbe464a29e1be59c1c
    29  # curl 127.0.0.1
    30  works
    31  # sudo firewall-cmd --reload
    32  success
    33  # curl 127.0.0.1
    34  hangs
    35  # podman network reload b1b538e8bc40
    36  b1b538e8bc4078fc3ee1c95b666ebc7449b9a97bacd15bcbe464a29e1be59c1c
    37  # curl 127.0.0.1
    38  works
    39  ```
    40  
    41  Reload the network configuration for all containers:
    42  ```
    43  # podman network reload --all
    44  b1b538e8bc4078fc3ee1c95b666ebc7449b9a97bacd15bcbe464a29e1be59c1c
    45  fe7e8eca56f844ec33af10f0aa3b31b44a172776e3277b9550a623ed5d96e72b
    46  ```
    47  
    48  
    49  ## SEE ALSO
    50  **[podman(1)](podman.1.md)**, **[podman-network(1)](podman-network.1.md)**
    51  
    52  ## HISTORY
    53  December 2020, Originally compiled by Paul Holzinger <paul.holzinger@web.de>