3 ms·
the docker installation that rhel uses carries small patches that enable one to build containers that run with systemd as init with ease, without the user havin
by compsciphd 6y ago
the docker installation that rhel uses carries small patches that enable one to build containers that run with systemd as init with ease, without the user having to do anything special (or run with privilege), its runtime sets everything up for you correctly. I've built and run them, so I know they work.
RedHat wanted docker to take them, but Docker refused. <shrug>
- rmolina 6y agoDidn't know that. But it makes sense given that podman already supports it. Btw, i did a quick search but couldn't find anything on this (docker's systemd support in rhel). If you happen to know where to find these patches, please send them my way. Thanks.
- compsciphd 6y agohttps://www.projectatomic.io/docs/docker_patches/ https://www.projectatomic.io/docs/docker_patches/ specifically, the hooks patch. then see 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.e. 4 years ago when I built containers to do this) though of course as you note they now say to use podman https://developers.redhat.com/blog/2019/04/24/how-to-run-systemd-in-a-container/ https://developers.redhat.com/blog/2019/04/24/how-to-run-sys...