Container networking and Podman setup
In this section, we'll cover Podman's networking implementation and how to configure networks. Podman 4.0.0 introduced an important change to the network stack. However, Podman 3 is still widely used in the community. For this reason, we will cover both implementations.
Podman 3 leverages the Container Network Interface (CNI) to manage local networks that are created on the host. The CNI provides a standard set of specifications and libraries to create and configure plugin-based network interfaces in a container environment.
CNI specifications were created for Kubernetes to provide a network configuration format that's used by the container runtime to set up the defined plugins, as well as an execution protocol between plugin binaries and runtimes. The great advantage of this plugin-based approach is that vendors and communities can develop third-party plugins that satisfy the CNI's specifications.
The Podman 4 network...