https://github.com/naftulikay/docker-xenial-vm
A lightweight Ubuntu 16.04 Xenial VM in Docker.
https://github.com/naftulikay/docker-xenial-vm
docker ubuntu ubuntu-1604 xenial
Last synced: over 1 year ago
JSON representation
A lightweight Ubuntu 16.04 Xenial VM in Docker.
- Host: GitHub
- URL: https://github.com/naftulikay/docker-xenial-vm
- Owner: naftulikay
- License: other
- Created: 2017-05-23T06:03:44.000Z (about 9 years ago)
- Default Branch: master
- Last Pushed: 2019-02-20T20:17:47.000Z (over 7 years ago)
- Last Synced: 2025-01-29T23:42:55.463Z (over 1 year ago)
- Topics: docker, ubuntu, ubuntu-1604, xenial
- Language: Dockerfile
- Homepage:
- Size: 37.1 KB
- Stars: 1
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE-APACHE
Awesome Lists containing this project
README
# docker-xenial-vm [![Build Status][travis.svg]][travis] [![Docker Build][docker.svg]][docker]
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`][docker].
## 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`](./docker-compose.yml) for a working reference on how to build and run the image/container.
## License
Licensed at your discretion under either:
- [MIT License](./LICENSE-MIT)
- [Apache License, Version 2.0](./LICENSE-APACHE)
[docker]: https://hub.docker.com/r/naftulikay/xenial-vm/
[docker.svg]: https://img.shields.io/docker/automated/naftulikay/xenial-vm.svg?maxAge=2592000
[travis]: https://travis-ci.org/naftulikay/docker-xenial-vm/
[travis.svg]: https://travis-ci.org/naftulikay/docker-xenial-vm.svg?branch=master