gluster-containers
gluster-containers copied to clipboard
how to turn off systemd-logind and systemd-journald processes in this image
We had some security issue rasied by our security team that processes inside container for systemd-logind and systemd-journald are interfering the nodelevel. How to turn off these? Is it enough to add below to Dockerfile? Please advise.
RUN systemctl disable systemd-journald RUN systemctl disable systemd-logind
It is better if you could disable them using : RUN systemctl mask systemd-journald.socket RUN systemctl mask systemd-journald.service
and RUN systemctl mask systemd-logind.service