We want to stop systemd from being added to docker images, because of rpm requiring systemctl.

Daniel J Walsh dwalsh at redhat.com
Tue Apr 29 14:37:09 UTC 2014


On 04/29/2014 06:33 AM, Lennart Poettering wrote:
> On Mon, 28.04.14 17:01, Daniel J Walsh (dwalsh at redhat.com) wrote:
>
>> The problem  is lots of services require systemd because they ship a
>> unit file and want systemctl reload to happen.  Systemd then triggers a
>> require for udev and kmod, which docker containers do not need.
> If you discount the docs/man pages of the RPMs, how much does kmod,
> udev, systemd actually contribtue in bytes to your docker images?
>
> Lennart
>
Shrinking the the docker image is more then just size.  We want to
eliminate packages that are not used (Within reason) to eliminate
problems like CVE's.  If udev/systemd/kmod had a CVE we would need to
update all Container images. 


More information about the devel mailing list