Re:Vagrant with Docker: How to set up Postgres, Elasticsearc...
by Hates_ on Monday July 07, 2014 @03:19PM
(#8000756)
As someone who uses brew versions of postgres, elasticsearch and redis, what benefit would I get moving to a setup like this?
[ Parent
| on HN ]
Re:Vagrant with Docker: How to set up Postgres, Elasticsearc...
by jives on Monday July 07, 2014 @03:34PM
(#8000855)
If you have multiple people on your team, a common dev environment can be a huge time-saver. New developers can install an identical environment quickly.
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.
Re:Vagrant with Docker: How to set up Postgres, Elasticsearc...
by alaskamiller on Monday July 07, 2014 @05:11PM
(#8001444)
More direct question:
Our team uses virtualenv and pip install from requirement lists. What additional benefits does Docker offer?
Re:Vagrant with Docker: How to set up Postgres, Elasticsearc...
by radnam on Monday July 07, 2014 @05:48PM
(#8001692)
You can do a pip install of python bindings but not the source package itself. For e.g., pip install redis gets you python bindings for the redis but not redis itself. With this setup, you can install a specific version of redis, run it as a service with your custom configuration right out of the box.
Re:Vagrant with Docker: How to set up Postgres, Elasticsearc...
by alaskamiller on Tuesday July 08, 2014 @04:14PM
(#8006524)
That's a good benefit for consideration, thanks for the answer.
Re:Vagrant with Docker: How to set up Postgres, Elasticsearc...
by scott_karana on Monday July 07, 2014 @05:40PM
(#8001640)
I'm guessing easy resource allocation, either through local machine quotas/cgroups or the easier ability to move specific services to different machines as you need to scale them.
Re:Vagrant with Docker: How to set up Postgres, Elasticsearc...
by mateuszf on Monday July 07, 2014 @03:33PM
(#8000848)
Possibility to break things, use multiple versions at the same time, testing dangerous operations, seamless deployments, etc.
Re:Vagrant with Docker: How to set up Postgres, Elasticsearc...
by Groxx on Monday July 07, 2014 @04:17PM
(#8001128)
Multiple versions at once is a big sell for me. At the moment I have 3 different MySQL installs to handle different work and side projects. With vagrant, this is practically trivial to maintain.
Re:Vagrant with Docker: How to set up Postgres, Elasticsearc...
by grahar64 on Monday July 07, 2014 @05:12PM
(#8001451)
One reason why I started to use Docker is that we work in a SOA environment, and eventually bundling our own services as Docker containers would make it much easier to replicate our production environment locally.