Skip to content

Latest commit

 

History

History
37 lines (27 loc) · 781 Bytes

README.md

File metadata and controls

37 lines (27 loc) · 781 Bytes

Ubuntu image including Systemd

This Docker image can be used to test Ansible playbooks based on Molecule.

Supported tags

Branch Ubuntu version Docker image tag
master 20.04 20.04
18.04 18.04 18.04
20.04 20.04 20.04

Usage

Start the container

docker run \
  --cap-add SYS_ADMIN \
  --detach \
  --name ubuntu-20.04 \
  --rm \
  --volume /sys/fs/cgroup:/sys/fs/cgroup:ro \
  dhoppeit/docker-ubuntu-systemd:20.04

Enter the container

docker exec -it ubuntu-20.04 bash

Stop the container

docker stop ubuntu-20.04