- Use podman to create new network
podman network create
- Check under
/etc/cni/net.d/
you will find file/etc/cni/net.d/cni-podman-2.conflist
- In your favorite file editor open
/usr/share/containers/libpod.conf
- Change line
cni_default_network = "podman"
in configuration file/usr/share/containers/libpod.conf
tocni_default_network = "cni-podman2"
- Reboot server
- Restart container with
podman start discovery dsc-db
- Check the network status.
- A new network
cni-podman2
will be present with a new IP192.168.0.1/24