Ubuntu LTS Docker container with systemd, useful for tests with ansible and molecule
10K+
Ubuntu 22.04 LTS Docker container with systemd, useful for tests with ansible especially with molecule
22.04, jammy, latest on main branch`20.04, focal on 20.04 branch`18.04, bionic on 18.04 branch`16.04, xenial on 16.04 branch`docker build -t docker-ubuntu-systemd:22.04 -t docker-ubuntu-systemd:latest .docker build -t docker-ubuntu-systemd:20.04 -t docker-ubuntu-systemd:focal .docker build -t docker-ubuntu-systemd:18.04 -t docker-ubuntu-systemd:bionic .docker build -t docker-ubuntu-systemd:16.04 -t docker-ubuntu-systemd:xenial .docker imagesdocker pull eniocarboni/docker-ubuntu-systemd:latest (or use the image you built earlier).docker run --detach --privileged --volume=/sys/fs/cgroup:/sys/fs/cgroup:ro eniocarboni/docker-ubuntu-systemd:latestView the run container with
docker psEnter in the container with:
docker exec -it <container_id> bashKill container with:
docker kill <container_id>Remove container with:
docker image rm -f <container_id>Created in 2022 by Enio Carboni
GNU GENERAL PUBLIC LICENSE (see LICENSE file)
Content type
Image
Digest
Size
71.4 MB
Last updated
over 4 years ago
docker pull eniocarboni/docker-ubuntu-systemd