3 ms·
A Docker or Vagrant setup to match their prod as closely as possible, for local dev purposes. It boggles my mind how many developers _still_ install PHP/MySQL/
by jtreminio 8y ago
A Docker or Vagrant setup to match their prod as closely as possible, for local dev purposes.
It boggles my mind how many developers _still_ install PHP/MySQL/Ruby/Node/etc on their daily desktop and are surprised when something doesn't work as expected on production.
- yeswecatan 8y agoDo you typically choose one over the other?
- digitalsushi 8y agoI'm not them, but for me I would use Docker if I am tearing the stack up more than a dozen times a day, and Vagrant if I am doing it less. I doubt I use either of them correctly. But I do love the way I use them.
- creatornator 8y agoSame. I generally try Docker first. With multi-stage builds, you can reduce container build times by a lot (after your first build), as opposed to reprovisioning an entire vm every time you need to nuke your dev environment and start from a fresh image.