Skip to content

dhoppeIT/docker-redhat-systemd

Repository files navigation

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