Buildah/Podman/CRI-O Virtualization Driver #1572
Molecule and Ansible details
Molecule installation method (one of):
Ansible installation method (one of):
Similar to how the docker driver is setup for creating the virtualized environment using containers, Buildah (or even possibly Podman) support could provide the same functionality without the need of root privileges or the docker daemon via the use of CRI-O.
Based on some talks in the TripleO community, the CRI-O virtualization driver would actually probably use
When implementing this we may want to consider a fallback mecanisms regarding which container virtualization engine to be used. It would be very useful to be able to tell molecule to "use podman if available but fallback to docker if not", especially as availability varies a lot across various platforms.
As far as I know, nobody is working in adding this now which means that we would welcome any help towards this direction.
I created POC for podman support in #2098 and it even works: https://paste.fedoraproject.org/paste/xmcf-jA99t6alKQTQ2S49Q
P.S. for using podman you need to specify
driver: name: podman
in your molecule playbook.