Podman 4.0 will implement a new network stack instead of CNI plugins. There are two components to the new stack:
Warning: Before testing Podman 4 and the new network stack, you will have to destroy all your current containers, images, and network. Consider exporting/saving any import containers or images.
If you have run Podman 3.x before upgrading to Podman 4, Podman will continue to use CNI plugins as it had before. There is a marker in Podman’s local storage that indicates this. In order to begin using Podman 4, you need to destroy that marker with podman system reset. This will destroy the marker, all of the images, all of the networks, and all of the containers.
If this is an upgrade to a current Podman install, destroy all current images, containers, and defined networks.
$ podman system reset –force
Ensure you have the DNF copr extension.
$ sudo dnf install ‘dnf-command(copr)’
Add the podman4 test COPR to your system
$ sudo dnf copr enable rhcontainerbot/podman4
If you have never installed Podman, replace
install in the following command.
$ sudo dnf upgrade podman
If Podman was upgraded, you may have to install netavark explicitly. Otherwise, the Podman package will continue to use CNI.
$ sudo dnf install netavark aardvark-dns
If you find bugs, please report them to our github issues page.