FROM debian:bullseye MAINTAINER Adrien Waksberg "docker@yae.im" RUN apt update && \ apt dist-upgrade -y && \ apt install -y dbus systemd curl vim sudo apt-utils lsb-release && \ apt-get clean autoclean RUN systemctl mask -- \ sys-fs-fuse-connections.mount \ dev-hugepages.mount \ systemd-tmpfiles-setup.service \ cgmanager.service RUN apt -y install procps python3-minimal && \ apt-get clean autoclean VOLUME ["/sys/fs/cgroup", "/run", "/run/lock"] CMD ["/lib/systemd/systemd"]