A lightweight Ubuntu 16.04 Xenial VM in Docker.
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
bin
etc/systemd/system
tests
.dockerignore
.gitignore
.travis.yml
Dockerfile
LICENSE-APACHE
LICENSE-MIT
Makefile
README.md
Vagrantfile
ansible.cfg
docker-compose.yml
requirements.txt
requirements.yml
vagrant.yml

README.md

docker-xenial-vm Build Status Docker Build

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.

Usage

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.

License

Licensed at your discretion under either: