A lightweight Ubuntu 16.04 Xenial VM in Docker, primarily used for integration testing of Ansible roles.
Available on Docker Hub as naftulikay/xenial-vm
.
The image and container can be built and started like so:
$ docker build -t naftulikay/xenial-vm:latest ./
$ docker run -d --name xenial -v /sys/fs/cgroup:/sys/fs/cgroup:ro --privileged \
naftulikay/xenial-vm:latest
$ docker exec -it xenial wait-for-boot
View docker-compose.yml
for a working reference on how to build and run the image/container.
Licensed at your discretion under either: