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