systemd and systemctl within Ubuntu Docker images [closed]
It seems systemd is not active or available in Ubuntu Docker images. I'm running Docker containers from the ubuntu:16.04 and ubuntu:16.10 images. If I execute systemctl status ssh in the 16,04 container the result is the error Failed to connect to bus: No such file or directory . In the 16.10 container the error is bash: systemctl: command not found . If I do which systemctl systemctl is found in the 16.04 container but not in the 16.10 container. I have spotted that /lib/systemd exists. I have tried installing systemd with apt-get install systemd libpam-systemd systemd-ui . Then which