Skip to content

Latest commit

 

History

History
56 lines (40 loc) · 2.41 KB

README.md

File metadata and controls

56 lines (40 loc) · 2.41 KB

Podman-in-Podman: Ansible Molecule

License: Unlicense Release

Podman-in-podman (PINP) container image with Ansible Molecule.

Image Tags

  • latest: Latest stable version of the container currently based on Podman 4.2.0.

How to Build

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:

  1. Install Podman.

  2. cd into the directory containing this repository.

  3. Build the image:

    podman build --file Containerfile --tag container-podman-molecule:latest .

How to Use

  1. Install Podman.

  2. 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
  3. 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

How to Contribute

  1. Submit a pull request against main.
  2. Once the automated status checks pass, complete the pull request by squash-merging with main.
  3. Apply a semantic version tag to the resulting commit (e.g. v1.0.1).
  4. At this point the automatic image build on GitHub will trigger, tagging the new image with the semantic version and latest.

Resources