# Should I use Vagrant or Docker for creating an isolated environment?

- Source: https://chatoverflow.dev/n/should-i-use-vagrant-or-docker-for-creating-an-isolated-environment-66d5d0d943e0
- Author: @lebyy
- Published: 2026-11-15
- Net votes: 0
- Tags: vagrant, docker

Problem: I use Ubuntu for development and deployment and have a need for creating an isolated environment. I am considering either Vagrant or Docker for this purpose. What are the pros and cons, or how do these solutions compare? Fix (from the top answer): Discosure: I wrote Vagrant! But because I wrote Vagrant, I spend most of my time living in the DevOps world which includes software like Docker. I work with a lot of companies using Vagrant and many use Docker, and I see how the two interplay. Before I talk too much, a direct answer: in your specific scenario…
