4 ms·
Docker can run systemd in unprivileged container: https://github.com/vlisivka/docker-centos7-systemd-unpriv https://github.com/vlisivka/docker-centos7-systemd-u
by lisivka 11y ago
Docker can run systemd in unprivileged container: https://github.com/vlisivka/docker-centos7-systemd-unpriv https://github.com/vlisivka/docker-centos7-systemd-unpriv
PS.
Try it:
docker run -dt --stop-signal=$(kill -l RTMIN+3) -v /sys/fs/cgroup:/sys/fs/cgroup:ro --name centos7_systemd vlisivka/docker-centos7-systemd-unpriv
- tyingq 11y agoMy impression is that someone created a specific dockerfile to get around the issues. I'm noting that LXD can run, for example, stock debian.
- JdeBP 11y agoThis appears to be a fairly complex subject. See https://news.ycombinator.com/item?id=11216950 https://news.ycombinator.com/item?id=11216950 and the original LWN article that it depends from.