4 ms·
As someone who uses brew versions of postgres, elasticsearch and redis, what benefit would I get moving to a setup like this?
by Hates_ 12y ago
As someone who uses brew versions of postgres, elasticsearch and redis, what benefit would I get moving to a setup like this?
- mateuszf 12y agoPossibility to break things, use multiple versions at the same time, testing dangerous operations, seamless deployments, etc.
- Groxx 12y agoMultiple 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.
- jives 12y agoIf 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.
- alaskamiller 12y agoMore direct question: Our team uses virtualenv and pip install from requirement lists. What additional benefits does Docker offer?
- scott_karana 12y agoI'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.
- radnam 12y agoYou 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.
- alaskamiller 12y agoThat's a good benefit for consideration, thanks for the answer.
- untog 12y agoFor one, you can mirror your production environment in dev.
- grahar64 12y agoOne 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.