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?docker global service and replicated service performanceUnix protocol not supported - Docker Plugin Version - 0.16.2Auto-restarting Docker container on Google Compute EngineHow to start multiple containers that use tcp with Dockerflask application running on Kubernete Pods doesn't respect port in configurationDocker: how to execute a batch file when container starts and keep the user in cmd / session
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.