Vagrant with Docker: How to set up Postgres, Elasticsearch and Redis on Mac OS X
maori.geek.nz
maori.geek.nz
For me the biggest benefit is being able to have a developer workstation setup in minutes that (more-or-less) mirrors the production environment. This has big benefits for simplifying development setup as well as making testing more realistic.
I use it to accomplish something very similar, standardized dev environments on OS X through docker containers.
Edit: I should probably add that my dev environment also relies on containers running both Postgres and Redis.
The format for the fig.yml file is even very similar to that of your VagrantFile (https://gist.github.com/ChrisChares/66916dd6dc0d5828520a)
https://github.com/empirical-org/Documentation/blob/master/G...
We are a non-profit, open source community, and we recently set up our dev environment in Docker to encourage OSS contributions. We may be missing a few crucial pieces of instruction for developers unfamiliar with Docker, such as killing docker images once a developer is finished working on a project.
You can reach me at peter at quill.org
Another benefit is that your project's development environment is self-contained. It's not going to clash with anything else on your system, and will even work across platforms.
Our team uses virtualenv and pip install from requirement lists. What additional benefits does Docker offer?
I would think that one would get better battery life from running it in a VM, especially a headless one compared to running Linux 'natively' mainly because Linux desktop is notorious for worse battery life than Mac/Windows.
(yes there are ways to improve the out-of-the box battery life of Linux but that's another topic)