Podman-in-podman (PINP) container image with Ansible Molecule.
latest
: Latest stable version of the container currently based on Podman 4.2.0.
This image is built on GitHub automatically any time a commit is made or merged to the main
branch and tagged. But if you need to build the image on your own locally, do the following:
-
Install Podman.
-
cd
into the directory containing this repository. -
Build the image:
podman build --file Containerfile --tag container-podman-molecule:latest .
-
Install Podman.
-
Pull this image from GitHub (or use the image you built above
container-podman-molecule:latest
):podman pull ghcr.io/chpc-uofu/container-podman-molecule:latest
-
Run a container from the image:
podman run \ -it \ --privileged \ --volume=/sys/fs/cgroup:/sys/fs/cgroup:ro \ ghcr.io/chpc-uofu/container-podman-molecule:latest \ bash
- Submit a pull request against
main
. - Once the automated status checks pass, complete the pull request by squash-merging with
main
. - Apply a semantic version tag to the resulting commit (e.g.
v1.0.1
). - At this point the automatic image build on GitHub will trigger, tagging the new image with the semantic version and
latest
.
- Ansible Molecule Documentation
- Ansible Documentation
- How to use Podman inside of a container
- Cannot set hostname when running in the host UTS namespace with podman in container #11969
- Image quay.io/podman/upstream fails on "podman build" when run as root (inside the container) on a RHEL 8.5: msg: modprobe: FATAL: Module ip_tables not found #13294