/docker-xenial-vm

A lightweight Ubuntu 16.04 Xenial VM in Docker.

Primary LanguageDockerfileOtherNOASSERTION

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: