Collection of docker images with systemd used for molecule testing of ansible roles
- Install Docker.
- Pull this image from Github Container Registry Hub:
docker pull ghcr.io/miarec/centos7-systemd:latest. - Run a container from the image:
docker run --name instance -d --privileged -v /sys/fs/cgroup:/sys/fs/cgroup:rw ghcr.io/miarec/centos7-systemd - Use the container:
docker exec -it instance /bin/bashdocker exec instance systemctl status