buluma/docker-molecule-images

By buluma

Updated 3 days ago

Docker Molecule Images for Testing Ansible Roles.

Image
Integration & delivery
Developer tools
Databases & storage
1

500K+

buluma/docker-molecule-images repository overview

Docker Molecule Images

Docker Molecule Images for Testing Ansible Roles - A comprehensive collection of containerized Linux distributions designed specifically for testing Ansible playbooks across multiple operating systems.

Overview

This project provides ready-to-use Docker images for numerous Linux distributions, enabling developers to test their Ansible roles in realistic environments without requiring full virtual machines. Each image is carefully configured with the appropriate init system (systemd, OpenRC, or upstart) to properly support service management during Ansible testing.

Available Distributions

Alpine Linux
Amazon Linux
Arch Linux
CentOS
Debian
  • debian13 - Debian 13 (Trixie) with systemd (EOL: 2030)
  • debian12 - Debian 12 (Bookworm) with systemd (EOL: 2028)
  • debian11 - Debian 11 (Bullseye) with systemd (EOL: 2026)
  • debian10 - Debian 10 (Buster) with systemd ⚠️ (Deprecated - EOL June 2024)
  • debian9 - Debian 9 (Stretch) with systemd ⚠️ (Deprecated - EOL June 2022)
Fedora
  • fedora45 - Fedora 45 with systemd (EOL: November 24, 2027)
  • fedora44 - Fedora 44 with systemd (EOL: June 2, 2027)
  • fedora43 - Fedora 43 with systemd (EOL: December 9, 2026)
  • fedora42 - Fedora 42 with systemd (EOL: May 27, 2026)
  • fedora41 - Fedora 41 with systemd ⚠️ (Deprecated - EOL December 15, 2025)
  • fedora40 - Fedora 40 with systemd ⚠️ (Deprecated - EOL May 13, 2025)
  • fedora39 - Fedora 39 with systemd ⚠️ (Deprecated - EOL November 26, 2024)
  • fedora38 - Fedora 38 with systemd ⚠️ (Deprecated - EOL May 21, 2024)
  • fedora37 - Fedora 37 with systemd ⚠️ (Deprecated - EOL December 5, 2023)
Kali Linux
  • kalilinux - Kali Linux rolling with systemd (Rolling release)
OpenSUSE
Oracle Linux
  • oraclelinux9 - Oracle Linux 9 with systemd (EOL: June 30, 2032; Extended: June 30, 2035)
  • oraclelinux8 - Oracle Linux 8 with systemd (EOL: July 31, 2029; Extended: July 31, 2032)
  • oraclelinux7 - Oracle Linux 7 with systemd ⚠️ (Deprecated - EOL December 31, 2024; Extended: June 30, 2028)
Rocky Linux
  • rockylinux9 - Rocky Linux 9 with systemd (EOL: May 2032)
  • rockylinux8 - Rocky Linux 8 with systemd ⚠️ (Deprecated - EOL May 2029)
  • rockylinux10 - Rocky Linux 10 with systemd ⚠️ (Deprecated - Base image not available)
AlmaLinux
RHEL
  • rhel9 - Red Hat Enterprise Linux 9 with systemd (Full Support: May 2027; Maintenance: May 2032; ELC available)
  • rhel8-ubi - Red Hat Enterprise Linux 8 (UBI) with systemd (Full Support: May 2029; Maintenance: May 2032; ELC available)
SUSE
  • opensuse-tumbleweed - openSUSE Tumbleweed with systemd (Rolling release)
  • opensuse156 - openSUSE Leap 15.6 with systemd (EOL: April 30, 2026)
  • sles15 - SUSE Linux Enterprise Server 15 with systemd ⚠️ (Deprecated - Auth required, systemd path issue)
  • sles12 - SUSE Linux Enterprise Server 12 with systemd ⚠️ (Deprecated - Auth required)
Ubuntu
  • ubuntu2604 - Ubuntu 26.04 LTS (Resolute Raccoon) with systemd (EOL: May 29, 2031; ESM: April 2036)
  • ubuntu2510 - Ubuntu 25.10 (Questing Quokka) with systemd ⚠️ (Deprecated - EOL July 9, 2026)
  • ubuntu2504 - Ubuntu 25.04 (Plucky Puffin) with systemd (EOL: January 15, 2026)
  • ubuntu2410 - Ubuntu 24.10 (Oracular Oriole) with systemd ⚠️ (Deprecated - EOL July 10, 2025)
  • ubuntu2404 - Ubuntu 24.04 LTS (Noble Numbat) with systemd (EOL: May 31, 2029; ESM: April 2034)
  • ubuntu2304 - Ubuntu 23.04 (Lunar Lobster) with systemd ⚠️ (Deprecated - EOL January 25, 2024)
  • ubuntu2204 - Ubuntu 22.04 LTS (Jammy Jellyfish) with systemd (EOL: June 1, 2027; ESM: April 2032)
  • ubuntu2004 - Ubuntu 20.04 LTS (Focal Fossa) with systemd ⚠️ (Deprecated - EOL May 29, 2025; ESM: April 2030)
  • ubuntu1804 - Ubuntu 18.04 LTS (Bionic Beaver) with systemd ⚠️ (Deprecated - EOL April 2023; ESM: April 2028)

Usage

With Ansible Molecule

Add to your molecule.yml configuration:

driver:
  name: docker

platforms:
  - name: instance
    image: ghcr.io/buluma/<distribution>:latest
    # Or use Docker Hub: docker.io/buluma/<distribution>:latest
    privileged: true
    volumes:
      - /sys/fs/cgroup:/sys/fs/cgroup:rw
    cgroupns_mode: host
    command: ""
    tty: true
Standalone Usage

Pull and run any image directly:

# Pull the image
docker pull ghcr.io/buluma/ubuntu2204:latest

# Run interactively
docker run -it --rm --privileged -v /sys/fs/cgroup:/sys/fs/cgroup:rw ghcr.io/buluma/ubuntu2204:latest

Build Status

Alpine

alpine-openrc

Archlinux

archlinux

Amazonlinux

amazonlinux-2023 amazonlinux-2

Centos

centos-stream9

Debian

debian13 debian12 debian11

Fedora

fedora45 fedora44 fedora43 fedora42 fedora41 fedora40

Kalilinux

kalilinux-rolling

Opensuse

opensuse156

Oraclelinux

oraclelinux-9 oraclelinux-8

Rockylinux

rockylinux-9

AlmaLinux

almalinux10 almalinux9 almalinux8

RHEL

rhel9 rhel8-ubi

SUSE

opensuse-tumbleweed

Ubuntu

ubuntu-26.04 ubuntu-25.04 ubuntu-24.04 ubuntu-22.04

Features

  • Multi-Architecture Support: Images built for multiple architectures (amd64, arm64, arm/v6, arm/v7, ppc64le, s390x, 386)
  • Proper Init Systems: Each distribution configured with appropriate init system for service testing
  • Security Scanning: Integrated with Docker Scout for automated vulnerability assessments
  • Mandatory Verification: All releases are verified via CI tests before deployment
  • Consistent Interface: Uniform configuration approach across all distributions
  • Regular Updates: Automated builds with Renovate bot for keeping base images current
  • CI/CD Ready: Optimized for use in continuous integration pipelines

Contributing

  1. Fork the repository
  2. Create a new branch for your distribution
  3. Add a new directory with your Dockerfile
  4. Create a corresponding workflow in .github/workflows/
  5. Submit a pull request

License

Licensed under the Apache License, Version 2.0. See LICENSE for more information.

Author Information

Created and maintained by Michael Buluma (@buluma)

Tag summary

Content type

Image

Digest

sha256:1c5986948

Size

432.8 MB

Last updated

3 days ago

docker pull buluma/docker-molecule-images:oraclelinux8