Hacker News new | ask | show | jobs
by TheMakeA 4614 days ago
All of my projects now include a Vagrantfile. It makes managing dependencies and creating repeatable environments simple.

The work flow is:

  $ vagrant up
  $ vagrant ssh
Editing and committing changes take place on the host. Running servers, tests, building Docker containers, etc, takes place on the guest.

You can get a new device ready for hacking on a project in minutes. Just git clone, vagrant up, grab a quick coffee.

I would definitely recommend putting VMs in your work flow.

1 comments

The dominant workflow in docker-land is to ditch the Vagrantfile, use a Dockerfile instead, and sometimes use Vagrant when it helps you get a VM up and running with docker on it (but that Vagrantfile is typically the same across all projects requiring docker).