Sign inSign up

naftulikay/centos7-vm

By naftulikay

•Updated over 7 years ago

A lightweight CentOS 7 VM in Docker.

Image
0

10K+

naftulikay/centos7-vm repository overview

⁠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:

Tag summary

Content type

Image

Digest

Size

159.2 MB

Last updated

over 7 years ago

docker pull naftulikay/centos7-vm