systemd-nspawn
Spawn a command or OS in a lightweight container. More information: <https://www.freedesktop.org/software/systemd/man/latest/systemd-nspawn.html>.
RUN apt-get update && \
apt-get install -y systemd-container
RUN apt-get update && \
apt-get install -y systemd-container
RUN pacman -S --noconfirm systemd
RUN apt-get update && \
apt-get install -y systemd-container
RUN yum install -y systemd
RUN dnf install -y systemd-container
RUN apt-get update && \
apt-get install -y systemd-container