3 ms·
You can even get it with straight up Docker, as long as both the host and container are running a new enough kernel+docker. You can even run unprivileged contai
by lscotte 8y ago
You can even get it with straight up Docker, as long as both the host and container are running a new enough kernel+docker. You can even run unprivileged containers: https://developers.redhat.com/blog/2016/09/13/running-systemd-in-a-non-privileged-container/ https://developers.redhat.com/blog/2016/09/13/running-system... - I did this with Ubuntu (Bionic and Artful, but I can't remember if it could work older versions, although this hardly new per the date on the blog). Of course this assumes you are running Linux everywhere and not some proprietary, limiting, OS.
- u801e 8y agoIn my experience, I was not able to run systemctl restart some.service in a docker container. This wasn't an issue in a LXC container.