I think it’s rare that I get excited about software these days. Things don’t seem as magical as they used to. But I tried out Docker Compose recently and whoa.
I cloned github.com/singram/mongo-docker-compose
docker-compose up and boom. I had a full set of MongoDB containers running on my laptop
and talking to each other.
Docker Compose is neat! A whole MongoDB cluster (13 containers!) on my laptop.https://t.co/IUz2Oaum8Y pic.twitter.com/9bh7U0TqAi— preetam (@PreetamJinka) June 13, 2017
These are Linux containers running MongoDB on my macOS laptop. They’re automatically able to connect to each other. This is magical!
A coworker asked me if I was messing around for fun (probably because I got so excited), but this was actually useful for some MongoDB features that I was adding to VividCortex agents! I think the last time I installed MongoDB was like 5 years ago when I was still in high school, but I was able to get a sharded cluster up and running with Docker Compose with a single shell command. I saved a lot of time.
Want to know what I worked on? Go ask my coworkers at Velocity or MongoDB World this week!
Can't wait for #velocityconf in San Jose this week! @Vividcortex will be at Booth #724!— VividCortex (@VividCortex) June 18, 2017
Can't wait for #MDW17 in Chicago! Come say hi to the @Vividcortex team at Booth #17!— VividCortex (@VividCortex) June 19, 2017