Docker images with systemd support
A Docker images based on ubuntu
, centos
that runs systemd
with a minimal set of services.
This image is meant for development use only. We strongly recommend against running it in production!
ubuntu:
ubuntu-22.04
ubuntu-20.04
ubuntu-18.04
ubuntu-16.04
ubuntu-14.04
centos:
centos7
These images were created for using with molecule tool when do testing with docker driver.
To start a service which requires systemd, configure molecule.yml with a systemd compliant image, capabilities, volumes, and command as follows.
- name: test-instance-centos
image: leandelivery/docker-systemd:centos7
privileged: True
security_opts:
- seccomp=unconfined
volumes:
- /sys/fs/cgroup:/sys/fs/cgroup:ro
tmpfs:
- /tmp
- /run
capabilities:
- SYS_ADMIN
groups:
- rhel_family
- name: test-instance-ubuntu
image: leandelivery/docker-systemd:ubuntu-18.04
privileged: True
security_opts:
- seccomp=unconfined
volumes:
- /sys/fs/cgroup:/sys/fs/cgroup:ro
tmpfs:
- /tmp
- /run
capabilities:
- SYS_ADMIN
groups:
- debian_family
Apache2
authors:
- Lean Delivery team@lean-delivery.com