Skip to content

Latest commit

 

History

History
17 lines (10 loc) · 568 Bytes

README.md

File metadata and controls

17 lines (10 loc) · 568 Bytes

Systemd ubuntu for upstream to the docker hub _/ubuntu/1x.xx-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 dockerimages/systemd:15.04 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.