github.com/containers/podman/v2@v2.2.2-0.20210501105131-c1e07d070c4c/cni/README.md (about)

     1  ## `cni` ##
     2  
     3  There are a wide variety of different [CNI](https://github.com/containernetworking/cni) network configurations. This
     4  directory just contains an example configuration that can be used as the
     5  basis for your own configuration.
     6  
     7  To use this configuration, place it in `/etc/cni/net.d` (or the directory
     8  specified by `cni_config_dir` in your `containers.conf`).
     9  
    10  For example a basic network configuration can be achieved with:
    11  
    12  ```bash
    13  sudo mkdir -p /etc/cni/net.d
    14  curl -qsSL https://raw.githubusercontent.com/containers/libpod/master/cni/87-podman-bridge.conflist | sudo tee /etc/cni/net.d/87-podman-bridge.conf
    15  ```
    16  
    17  Dependent upon your CNI configuration, you will need to install as a minimum the `port` and `bridge`  [CNI plugins](https://github.com/containernetworking/plugins) into `/opt/cni/bin` (or the directory specified by `cni_plugin_dir` in containers.conf).  Please refer to the [CNI](https://github.com/containernetworking) project page in GitHub for more information.