Hacker News new | ask | show | jobs
by carlosf 1832 days ago
Docker is much faster than Vagrant and allows reproducible envs.

I've been using VS Code + its Remote-Containers extension + docker-compose (when needed) and it's absolutely brilliant compared to other options.

I will use Vagrant when I want to avoid Docker in Docker, but I try to stay away from it as much as I can (for local app development).

That said Vagrant is really useful for testing infra, stuff like clusters etc.

2 comments

If you export your docker socket to the container you can avoid the poor performance of docker-in-docker
DinD has many gotchas and I dislike it in general.
> Docker is much faster than Vagrant

On some host operating systems. On others it's a similar speed.