DEV Community

Discussion on: What am I missing out if I'm not using a VM/Container for my development setup?

Collapse
 
rrampage profile image
Raunak Ramakrishnan • Edited

VMs and Containers are useful if:

  • it is difficult to recreate an environment similar to the production environment (e.g old versions of Windows / reliance on very finicky dependencies)
  • you need multiple conflicting versions of dependencies e.g software that relies on a version of glibc different from one in your system.
  • Your production environment runs a completely different OS compared to your laptop/dev machine

If you can recreate development environment easily without a VM, it is totally fine. In such cases, installing from a script or using Chef/Puppet/Ansible playbooks are also valid alternatives.

Collapse
 
dmfay profile image
Dian Fay

This is basically it; using something like Vagrant, docker-compose, or minikube for your local environment just because tends to have a pretty miserable effort:reward ratio.