How to Install systemd-docker in Ubuntu 18.04



Install systemd-docker by entering the following commands in the terminal:

sudo apt update
sudo apt install systemd-docker

Description:

wrapper for "docker run" to handle systemd quirks

systemd-docker is a wrapper for "docker run" so that Docker containers can be sanely run under systemd. The key thing that this wrapper does is move the container process from the cgroups setup by Docker to the service unit's cgroup. . Using this wrapper containers can be managed through systemctl or the docker CLI and everything should just stay in sync. Additionally one can leverage all the cgroup functionality of systemd and systemd-notify.

Homepage: https://github.com/ibuildthecloud/systemd-docker

Version: 0.2.1+dfsg-2

Section: universe/devel