In this post I’ll document how to build and run containers with Podman. Podman
is a tool which allows you managing OCI containers without the need for a daemon.
It aims to provide parity with the docker cli options making it easy for users
to transition to using this new tool. You can read more about the Podman motivation
in this detailed article.
I ran the steps below on a Fedora 29 system and used an nginx container for this
exercise.
As you can notice the user experience remains pretty much the same as with the
docker cli. One of the differences in terms of operational experience is how the
containers start at boot time. Since there’s no daemon involved in managing the
containers we have to rely on systemd and create unit files for each container
to automatically start at boot: