{"id":15640928,"url":"https://github.com/hspaans/molecule-containers","last_synced_at":"2026-04-04T13:40:26.325Z","repository":{"id":38315202,"uuid":"451690280","full_name":"hspaans/molecule-containers","owner":"hspaans","description":"Containers for Molecule","archived":false,"fork":false,"pushed_at":"2024-10-17T09:14:44.000Z","size":368,"stargazers_count":2,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2024-10-19T12:32:56.026Z","etag":null,"topics":["ansible","container","debian","docker","molecule","podman","ubuntu"],"latest_commit_sha":null,"homepage":"","language":null,"has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/hspaans.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2022-01-25T01:11:39.000Z","updated_at":"2024-10-17T09:14:47.000Z","dependencies_parsed_at":"2024-01-13T22:41:51.297Z","dependency_job_id":"a4de1b6b-5b3f-400e-953f-d962dee48dc9","html_url":"https://github.com/hspaans/molecule-containers","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hspaans%2Fmolecule-containers","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hspaans%2Fmolecule-containers/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hspaans%2Fmolecule-containers/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hspaans%2Fmolecule-containers/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/hspaans","download_url":"https://codeload.github.com/hspaans/molecule-containers/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":221099199,"owners_count":16755888,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["ansible","container","debian","docker","molecule","podman","ubuntu"],"created_at":"2024-10-03T11:40:38.773Z","updated_at":"2026-04-04T13:40:26.299Z","avatar_url":"https://github.com/hspaans.png","language":null,"funding_links":[],"categories":[],"sub_categories":[],"readme":"# Containers for Molecule\n\nFor testing [Ansible][ansible] roles with [Molecule][molecule], it is useful to have a container image with Ansible installed. This repository contains a collection of container images for testing Ansible roles with Molecule. The container images are available on [GitHub Container Registry](https://ghcr.io) and a current list of available images can be found on the [container overview page](https://github.com/hspaans/molecule-containers/pkgs/container/molecule-containers/versions?filters%5Bversion_type%5D=tagged).\n\n\u003e [!WARNING]\n\u003e The container images are **NOT** intended for production use and should only be used for testing purposes without the latest patches applied.\n\n## Container images and versions\n\nDistributions are based on [LTS](https://en.wikipedia.org/wiki/Long-term_support) versions with official support and fall within N and N-1. Older images are removed from the registry when they reach end-of-life when public security support ends.\n\nThe following table lists the available container images, their distribution, and the state of the image. The state is indicated by a badge that shows the status of the latest build for that image.\n\n| Image Tag | Distribution | State |\n|-----------|--------------|---------|\n| `almalinux-10` | AlmaLinux 10 | [![Container Release (AlmaLinux 10)](https://github.com/hspaans/molecule-containers/actions/workflows/container-release-almalinux-10.yml/badge.svg?branch=master)](https://github.com/hspaans/molecule-containers/actions/workflows/container-release-almalinux-10.yml) |\n| `alpine-3.19` | Alpine 3.19 | [![Container Release (Alpine 3.19)](https://github.com/hspaans/molecule-containers/actions/workflows/container-release-alpine-3.19.yml/badge.svg?branch=master)](https://github.com/hspaans/molecule-containers/actions/workflows/container-release-alpine-3.19.yml) |\n| `alpine-3.20` | Alpine 3.20 | [![Container Release (Alpine 3.20)](https://github.com/hspaans/molecule-containers/actions/workflows/container-release-alpine-3.20.yml/badge.svg?branch=master)](https://github.com/hspaans/molecule-containers/actions/workflows/container-release-alpine-3.20.yml) |\n| `alpine-3.21` | Alpine 3.21 | [![Container Release (Alpine 3.21)](https://github.com/hspaans/molecule-containers/actions/workflows/container-release-alpine-3.21.yml/badge.svg?branch=master)](https://github.com/hspaans/molecule-containers/actions/workflows/container-release-alpine-3.21.yml) |\n| `alpine-3.22` | Alpine 3.22 | [![Container Release (Alpine 3.22)](https://github.com/hspaans/molecule-containers/actions/workflows/container-release-alpine-3.22.yml/badge.svg?branch=master)](https://github.com/hspaans/molecule-containers/actions/workflows/container-release-alpine-3.22.yml) |\n| `alpine-3.23` | Alpine 3.23 | [![Container Release (Alpine 3.23)](https://github.com/hspaans/molecule-containers/actions/workflows/container-release-alpine-3.23.yml/badge.svg?branch=master)](https://github.com/hspaans/molecule-containers/actions/workflows/container-release-alpine-3.23.yml) |\n| `amazonlinux-2023` | Amazon Linux 2023  | [![Container Release (Amazon Linux 2023)](https://github.com/hspaans/molecule-containers/actions/workflows/container-release-amazonlinux-2023.yml/badge.svg?branch=master)](https://github.com/hspaans/molecule-containers/actions/workflows/container-release-amazonlinux-2023.yml) |\n| `debian-12` | Debian 12 (Bookworm) | [![Container Release (Debian 12)](https://github.com/hspaans/molecule-containers/actions/workflows/container-release-debian-12.yml/badge.svg?branch=master)](https://github.com/hspaans/molecule-containers/actions/workflows/container-release-debian-12.yml) |\n| `debian-13` | Debian 13 (Trixie) | [![Container Release (Debian 13)](https://github.com/hspaans/molecule-containers/actions/workflows/container-release-debian-13.yml/badge.svg?branch=master)](https://github.com/hspaans/molecule-containers/actions/workflows/container-release-debian-13.yml) |\n| `fedora-41` | Fedora 41 | [![Container Release (Fedora 41)](https://github.com/hspaans/molecule-containers/actions/workflows/container-release-fedora-41.yml/badge.svg?branch=master)](https://github.com/hspaans/molecule-containers/actions/workflows/container-release-fedora-41.yml) |\n| `fedora-42` | Fedora 42 | [![Container Release (Fedora 42)](https://github.com/hspaans/molecule-containers/actions/workflows/container-release-fedora-42.yml/badge.svg?branch=master)](https://github.com/hspaans/molecule-containers/actions/workflows/container-release-fedora-42.yml) |\n| `fedora-43` | Fedora 43 | [![Container Release (Fedora 43)](https://github.com/hspaans/molecule-containers/actions/workflows/container-release-fedora-43.yml/badge.svg?branch=master)](https://github.com/hspaans/molecule-containers/actions/workflows/container-release-fedora-43.yml) |\n| `opensuse-15` | openSUSE Leap 15 | [![Container Release (openSUSE 15)](https://github.com/hspaans/molecule-containers/actions/workflows/container-release-opensuse-15.yml/badge.svg?branch=master)](https://github.com/hspaans/molecule-containers/actions/workflows/container-release-opensuse-15.yml) |\n| `opensuse-16` | openSUSE Leap 16 | [![Container Release (openSUSE 16)](https://github.com/hspaans/molecule-containers/actions/workflows/container-release-opensuse-16.yml/badge.svg?branch=master)](https://github.com/hspaans/molecule-containers/actions/workflows/container-release-opensuse-16.yml) |\n| `oraclelinux-8` | Oracle Linux 8 | [![Container Release (Oracle Linux 8)](https://github.com/hspaans/molecule-containers/actions/workflows/container-release-oraclelinux-8.yml/badge.svg?branch=master)](https://github.com/hspaans/molecule-containers/actions/workflows/container-release-oraclelinux-8.yml) |\n| `oraclelinux-9` | Oracle Linux 9 | [![Container Release (Oracle Linux 9)](https://github.com/hspaans/molecule-containers/actions/workflows/container-release-oraclelinux-9.yml/badge.svg?branch=master)](https://github.com/hspaans/molecule-containers/actions/workflows/container-release-oraclelinux-9.yml) |\n| `oraclelinux-10` | Oracle Linux 10 | [![Container Release (Oracle Linux 10)](https://github.com/hspaans/molecule-containers/actions/workflows/container-release-oraclelinux-10.yml/badge.svg?branch=master)](https://github.com/hspaans/molecule-containers/actions/workflows/container-release-oraclelinux-10.yml) |\n| `rockylinux-8` | Rocky Linux 8 | [![Container Release (Rocky Linux 8)](https://github.com/hspaans/molecule-containers/actions/workflows/container-release-rockylinux-8.yml/badge.svg?branch=master)](https://github.com/hspaans/molecule-containers/actions/workflows/container-release-rockylinux-8.yml) |\n| `rockylinux-9` | Rocky Linux 9 | [![Container Release (Rocky Linux 9)](https://github.com/hspaans/molecule-containers/actions/workflows/container-release-rockylinux-9.yml/badge.svg?branch=master)](https://github.com/hspaans/molecule-containers/actions/workflows/container-release-rockylinux-9.yml) |\n| `rockylinux-10` | Rocky Linux 10 | [![Container Release (Rocky Linux 10)](https://github.com/hspaans/molecule-containers/actions/workflows/container-release-rockylinux-10.yml/badge.svg?branch=master)](https://github.com/hspaans/molecule-containers/actions/workflows/container-release-rockylinux-10.yml) |\n| `ubuntu-22.04` | Ubuntu 22.04 (Jammy Jellyfish) | [![Container Release (Ubuntu 22.04)](https://github.com/hspaans/molecule-containers/actions/workflows/container-release-ubuntu-2204.yml/badge.svg?branch=master)](https://github.com/hspaans/molecule-containers/actions/workflows/container-release-ubuntu-2204.yml) |\n| `ubuntu-24.04` | Ubuntu 24.04 (Noble Numbat) | [![Container Release (Ubuntu 24.04)](https://github.com/hspaans/molecule-containers/actions/workflows/container-release-ubuntu-2404.yml/badge.svg?branch=master)](https://github.com/hspaans/molecule-containers/actions/workflows/container-release-ubuntu-2404.yml) |\n| `ubuntu-26.04` | Ubuntu 26.04 (Resolute Raccoon) | [![Container Release (Ubuntu 26.04)](https://github.com/hspaans/molecule-containers/actions/workflows/container-release-ubuntu-2604.yml/badge.svg?branch=master)](https://github.com/hspaans/molecule-containers/actions/workflows/container-release-ubuntu-2604.yml) |\n\n## Example Molecule scenario\n\nThe example `molecule.yml` below is a scenario to run test on Debian 12 and Ubuntu 24.04.\n\n```yml\n---\ndependency:\n  name: galaxy\ndriver:\n  name: docker\nlint: |\n  set -e\n  yamllint `git ls-files '*.yaml' '*.yml'`\n  ansible-lint\n  flake8\n\nplatforms:\n  - name: debian-12\n    image: \"ghcr.io/hspaans/molecule-containers:debian-12\"\n    command: \"\"\n    cgroupns_mode: host\n    volumes:\n      - /sys/fs/cgroup:/sys/fs/cgroup:rw\n    privileged: true\n    pre_build_image: true\n\n  - name: ubuntu-22.04\n    image: \"ghcr.io/hspaans/molecule-containers:ubuntu-24.04\"\n    command: \"\"\n    cgroupns_mode: host\n    volumes:\n      - /sys/fs/cgroup:/sys/fs/cgroup:rw\n    privileged: true\n    pre_build_image: true\n\nprovisioner:\n  name: ansible\nverifier:\n  name: testinfra\n```\n\n[ansible]: https://github.com/ansible/ansible\n[debian]: https://debian.org\n[molecule]: https://github.com/ansible/molecule\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhspaans%2Fmolecule-containers","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fhspaans%2Fmolecule-containers","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhspaans%2Fmolecule-containers/lists"}