telinit

Change SysV runlevel. Since the concept SysV runlevels is obsolete the runlevel requests will be transparently translated into systemd unit activation requests. More information: <https://manned.org/telinit>.

Debian Debian
RUN apt-get update && \ apt-get install -y sysvinit
Ubuntu
RUN apt-get update && \ apt-get install -y upstart-sysv
Arch Arch Linux
RUN pacman -S --noconfirm systemd-sysvcompat
image/svg+xml Kali Linux
RUN apt-get update && \ apt-get install -y sysvinit-core
CentOS
RUN yum install -y systemd
Fedora
RUN dnf install -y systemd
Raspbian
RUN apt-get update && \ apt-get install -y upstart
click the source code to copy install telinit on any operating system with command-not-found.com