3 ms·
Docker is awesome and I've totally redesigned my development workflow around it. Instead of running a monolithic dev server with dependencies for every project
by pault 13y ago
Docker is awesome and I've totally redesigned my development workflow around it. Instead of running a monolithic dev server with dependencies for every project I start (mongodb, mysql, ruby, a giant mess of gems, node, memcached, jvm, etc etc--at a certain point these things start stepping on each others toes), I have a docker image for each dependency and configure a cluster for each project. Source version control is handled independently by simply mounting a project's root folder on each container and passing around config files. File system layering means the container branches for each project only take up as much disk space as whatever gems or node packages they don't have in common. For me, the moment I "got" docker felt like the first time I really understood the git workflow. Starting a new project is now a matter of minutes instead of hours, and the reduced friction allows for tons of experimentation that I would have avoided before. It's also fun to be able to spin up a 12 server mongo cluster on a single VM and watch how the sharding and replication works with different key schemes. I really can't say enough good things about the project, with the caveat that I've only used it for local development so far. I'm super excited to see where it goes once it hits 1.0.
- yackob03 13y agoWe're using Docker in production (even though it's not 1.0) and it's been great so far. We manage a large number of small images on behalf of the end goals of our users at DevTable, and managing the images themselves was becoming a pain. To address this we built Quay.io, which we're using to store our images and feed them out to our servers in production. With your large number of apps and containers, you might find it useful too. We're basically trying to be the Github of Docker images.