Ubuntu bionic with init systemd running with or without the --privileged option.
407
Ubuntu bionic with init systemd running without the --privileged option.
You can run it privileged too.
e.g. service myservice start , in docker
docker run --name init-server -d --tmpfs /tmp --tmpfs /run -v /sys/fs/cgroup:/sys/fs/cgroup:ro danielguerra/ubuntu-init
docker run --cap-add=SYS_ADMIN --name init-server -d --tmpfs /tmp --tmpfs /run -v /sys/fs/cgroup:/sys/fs/cgroup danielguerra/ubuntu-init
docker run --privileged --name init-server -d danielguerra/ubuntu-init
docker exec -ti init-server bash
--cap-add=SYS_ADMIN -e "container=docker" -v /sys/fs/cgroup:/sys/fs/cgroup
Content type
Image
Digest
Size
88.9 MB
Last updated
over 8 years ago
docker pull danielguerra/ubuntu-init