systemd-inhibit
Prohibit the system from entering certain power states. Inhibitor locks may be used to block or delay system sleep and shutdown requests as well as automatic idle handling. More information: <https://www.freedesktop.org/software/systemd/man/systemd-inhibit.html>.
RUN apt-get update && \
apt-get install -y systemd
RUN apt-get update && \
apt-get install -y systemd
RUN pacman -S --noconfirm systemd
RUN apt-get update && \
apt-get install -y systemd
RUN yum install -y systemd
RUN dnf install -y systemd
RUN apt-get update && \
apt-get install -y systemd