A Dockerfile for building Ubuntu images that have systemd enabled.
Each branch in this git repository is used for building specific versions of Ubuntu images.
Branch | Ubuntu Version | FROM Docker image tag |
---|---|---|
master | latest | latest |
20.10 | 20.10 | 20.10 |
20.04 | 20.04 | 20.04 |
18.04 | 18.04 | 18.04 |
docker run -d \
--tty \
--privileged \
--volume /sys/fs/cgroup:/sys/fs/cgroup:ro \
--name daosd-ubuntu-systemd \
daosdo/ubuntu-systemd:latest
Adding --tty
allocates a pseudo-TTY and enables color in the logs when
running docker logs
.
docker exec -it daosd-ubuntu-systemd /bin/bash
docker rm -f daosd-ubuntu-systemd