在debian systemd软件包中找不到systemd-machined

我有一个Docker容器,运行一个非常裸露的debian版本。 有了这个,我必须首先从外部安装systemd。 要做到这一点,我有一个docker容器,运行安装,然后我把它提交到一个图像,然后从该图像运行systemd。 当我撞到容器中时,在文件系统的任何地方都找不到machinectl,机器似乎没有运行。 有没有我需要安装的特定软件包? 或者由于我在一个容器开始的事实,机加工不可用? 我认识到,容器中的容器是皱眉,但这个容器的目的是运行与systemd-machined接口的testing。

重现步骤:

docker run --privileged --cidfile=/tmp/cidfile debian:stretch bash -c 'apt-get update && apt-get install -y build-essential git dbus libsystemd-dev libpam-systemd' docker commit `cat /tmp/cidfile` deb-machined-test rm /tmp/cidfile docker run -d --cidfile=/tmp/cidfile --privileged deb-machined-test /bin/systemd --system 

原来systemd-machined是在一个与systemd软件包不同的软件包中。 为了在Debian Stretch上安装systemd-machine,你必须运行apt-get install -y systemd-container