Sign inSign up

mpaivabarbosa/molecule-systemd-opensuse

By mpaivabarbosa

•Updated 2 days ago

Systemd-enabled opensuse container for Ansible Molecule testing with Python 3 and sudo user

Image
0

10K+

mpaivabarbosa/molecule-systemd-opensuse repository overview

⁠openSUSE Leap Container Images for Molecule

openSUSE Leap

Pre-built openSUSE Leap container images for testing Ansible roles using Molecule.

⁠Available Tags

LTS Releases:

  • latest, 16.0 - openSUSE Leap 16.0 (until 2031)
  • 15.6 - openSUSE Leap 15.6 (until 2025-12)
  • 15.5 - openSUSE Leap 15.5 (until 2024-12)
  • 15.4 - openSUSE Leap 15.4 (until 2023-12)

⁠Features

  • systemd enabled and configured
  • Python 3 and pip pre-installed
  • ansible user with passwordless sudo
  • Optimized for Molecule testing

⁠Why openSUSE Leap?

  • ✅ Enterprise Foundation - Based on SUSE Linux Enterprise (SLE)
  • ✅ Stability - 18-month support cycle per version
  • ✅ Professional Use - Widely used in corporate environments
  • ✅ YaST Integration - Powerful system configuration tool
  • ✅ Btrfs by Default - Advanced filesystem features

⁠Use Cases

  • Testing roles for SUSE Linux Enterprise environments
  • SAP workload compatibility testing
  • Zypper package manager testing
  • Enterprise Linux (non-RHEL) validation
  • openSUSE/SUSE-specific application testing

⁠Image Sizes

TagSizePython Versionsystemd VersionSupport Until
16.0~378MB3.13257+2031
15.6~180MB3.6254+December 2025
15.5~175MB3.6249+December 2024
15.4~170MB3.6249+December 2023

⁠Package Management

# Inside container - using zypper
zypper refresh                    # Update repository metadata
zypper install package_name       # Install package
zypper search keyword             # Search packages
zypper update                     # Update all packages

⁠Common Issues

Issue: Group 'wheel' not found

# openSUSE doesn't use 'wheel' group by default
# These images use sudoers.d for ansible user

Issue: Zypper lock errors

# Wait for zypper processes to complete
# Or use: zypper --non-interactive

⁠Differences from RHEL/Debian

FeatureopenSUSERHEL/CentOSDebian/Ubuntu
Package Managerzypperyum/dnfapt
Init Systemsystemdsystemdsystemd
Default FilesystemBtrfsXFSext4
Config ToolYaST-debconf
Release Cycle12-18 months~3 years2 years (stable)

⁠Usage Example

---
platforms:
  - name: opensuse-15-6
    image: docker.io/mpaivabarbosa/molecule-systemd-opensuse:15.6
    pre_build_image: true
    privileged: true
    command: /usr/lib/systemd/systemd
    volumes:
      - /sys/fs/cgroup:/sys/fs/cgroup:rw

⁠About openSUSE Leap

openSUSE Leap is a stable, community-supported Linux distribution based on SUSE Linux Enterprise (SLE).

  • Release Cycle: 12-18 months support per version
  • Use Cases: Enterprise servers, workstations, development
  • Package Manager: zypper (RPM-based)
  • Init System: systemd

⁠Docker Hub

https://hub.docker.com/r/mpaivabarbosa/molecule-systemd-opensuse⁠

⁠Source Code

https://github.com/marciopaiva/molecule-systemd-images⁠

Tag summary

Content type

Image

Digest

sha256:ccb3b3396…

Size

99.4 MB

Last updated

2 days ago

docker pull mpaivabarbosa/molecule-systemd-opensuse