Functional tests with vagrant in docker

To test some parts of code which require a fresh VM I use Vagrant. To automate testing I use python-vagrant package with which I automatically create and destroy VMs.

The problem is that I switched to Docker, so my app in now containerized and therefore I run tests inside a testing container. Even if I install Vagrant inside a container it complains that there is no VirtualBox around. Is there any possibility to solve this problem?

  • Find host ip from a docker container running in boot2docker / osx
  • Create AWS::ECR::Repository resource by Cloudformation
  • How to run the Google app engine server using Dockerfile
  • Dockerhub Automated Builds tagging
  • In docker cpu usage calculation what are: TotalUsage, SystemUsage, PercpuUsage and what does the calculation means?
  • Cannot connect to Neo4j from RStudio Server in docker on Centos 7
  • Right now I created a Makefile function which spins up a VM runs a container executing tests and destroys VM at the end. But that does not allow me to perform VM rollbacks between tests and so on.

  • How to continue running scripts when exiting docker containers
  • django postgresql password authentication failed for user
  • how to let docker container work with sshuttle?
  • RestTemplate exchange call gives 503 error when running in Docker container at Kubernetes environment
  • How do I change permissions in a docker volume?
  • Auditing in a SQL Server Docker Container
  • Docker will be the best open platform for developers and sysadmins to build, ship, and run distributed applications.