podman/cni
Matthew Heon 50487832c6 Add HairpinMode to our CNI configs
This may resolve some issues with routing traffic between
containers using the host's IP.

Signed-off-by: Matthew Heon <mheon@redhat.com>
2020-05-11 13:57:19 -04:00
..
87-podman-bridge.conflist Add HairpinMode to our CNI configs 2020-05-11 13:57:19 -04:00
README.md Update cni config instructions 2019-08-22 19:39:07 -04:00

cni

There are a wide variety of different CNI network configurations. This directory just contains an example configuration that can be used as the basis for your own configuration.

To use this configuration, place it in /etc/cni/net.d (or the directory specified by cni_config_dir in your libpod.conf).

For example a basic network configuration can be achieved with:

sudo mkdir -p /etc/cni/net.d
curl -qsSL https://raw.githubusercontent.com/containers/libpod/master/cni/87-podman-bridge.conflist | sudo tee /etc/cni/net.d/87-podman-bridge.conf

Dependent upon your CNI configuration, you will need to install as a minimum the port and bridge CNI plugins into /opt/cni/bin (or the directory specified by cni_plugin_dir in libpod.conf). Please refer to the CNI project page in GitHub for more information.