Skip to content

Latest commit

 

History

History
37 lines (27 loc) · 765 Bytes

README.md

File metadata and controls

37 lines (27 loc) · 765 Bytes

RedHat image including Systemd

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

Supported tags

Branch RedHat version Docker image tag
master 8 8
7 7 7
8 8 8

Usage

Start the container

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

Enter the container

docker exec -it redhat-8 bash

Stop the container

docker stop redhat-8