A lightweight CentOS 7 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
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-centos7-vm Build Status Docker Build

A lightweight CentOS 7 VM in Docker, primarily used for integration testing of Ansible roles.

Usage

The image and container can be built and started like so:

$ docker build -t naftulikay/centos7-vm:latest ./
$ docker run -d --name centos7 -v /sys/fs/cgroup:/sys/fs/cgroup:ro --privileged \
      naftulikay/centos7-vm:latest
$ docker exec -it centos7 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: