Sign inSign up

kxes/ubuntu-systemd

By kxes

•Updated almost 11 years ago

An Ubuntu baseimage running systemd inside a container

Image
0

5.0K

kxes/ubuntu-systemd repository overview

⁠ubuntu-systemd

Based on docker-systemd⁠, this is Docker image with Ubuntu running systemd init system inside a container.

⁠Available tags

15.04 vivid

15.10 wily

⁠Starting a shell with systemd

docker run -it --cap-add SYS_ADMIN -v /sys/fs/cgroup:/sys/fs/cgroup:ro kxes/ubuntu-systemd systemd.unit=emergency.service

You need CAP_SYS_ADMIN capability (as in the example above --caps-add SYS_ADMIN) or you can just add --privileged.

Tag summary

Content type

Image

Digest

sha256:d436ab980…

Size

48 MB

Last updated

almost 11 years ago

docker pull kxes/ubuntu-systemd