You can use this image as a base container to run systemd services inside.
latest, 7, 8docker run -d --name systemd-centos --tmpfs /tmp --tmpfs /run --tmpfs /run/lock -v /sys/fs/cgroup:/sys/fs/cgroup:ro jrei/systemd-centos
or if it doesn't work
docker run -d --name systemd-centos --privileged -v /sys/fs/cgroup:/sys/fs/cgroup:ro jrei/systemd-centos
docker exec -it systemd-centos sh
docker rm -f systemd-centos
Content type
Image
Digest
sha256:a7be473c9…
Size
79.7 MB
Last updated
9 days ago
docker pull jrei/systemd-centos