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

CentOS image including Systemd

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

Supported tags

Branch CentOS 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 centos-8 \
  --rm \
  --volume /sys/fs/cgroup:/sys/fs/cgroup:ro \
  dhoppeit/docker-centos-systemd:8

Enter the container

docker exec -it centos-8 bash

Stop the container

docker stop centos-8