This is a demo repo for getting systemd enabled in a CentOS 7 container, read the accompanying blog post for further details.
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
Dockerfile
README.md
docker-compose.yml

README.md

centos7-systemd-docker-demo

This is a demo repo for getting systemd enabled in a CentOS 7 container, read the accompanying blog post for further details.

Helpful Commands

If you aren't inclined to reading blogs, the below commands will be helpful in investigating this repository.

docker build --rm -t centos7-systemd-docker-demo .

docker run -tid -v /sys/fs/cgroup:/sys/fs/cgroup:ro --cap-add SYS_ADMIN -p 80:80 --name centosdemo centos7-systemd-docker-demo

docker exec -it centosdemo /bin/bash