README.md

Fedora VM for podman

Note: It is crucial to have at least 1 GB of RAM allocated for the VM. Otherwise, you might encounter strange behaviour caused by OOM kill.

All-in-One Vagrant setup

This directory is a reference cloud image with container tools
podman, skopeo and buildah
installed. This Vagrantfile creates a VM with nfs-tools installed so you can use the VM for independent builds with an option to share artefacts using NFS.

buildah images list the images available (you should see fedora-httpd listed among them).

podman run -p 8080:80 fedora-myhttpd run the container and redirect local port of 8080 to the container port 80 (privileged port).

Builder notes

Some details that you might find useful when doing experiments with this repo and guide.

Alternative Virsh

In case you do not havevagrant, but only the virsh go to sub-directory usingVirsh. This directory contains few scripts that can help you to achieve the same but using virsh (libvirt-bin package on Ubuntu).

Provisioning the VM

The few commands that you have to run as root sudo -i to get it working when you have vanilla Fedora running somewhere. In the Vagrantfile the packages are squashed into one line.

Note:If you do not need the NFS, then leave out the nfs-tools package and rpcbind service start and enable.