Over a million developers have joined DZone.

Why Docker is awesome for a lean tech Startup

· DevOps Zone

The DevOps Zone is brought to you in partnership with Sonatype Nexus. The Nexus Suite helps scale your DevOps delivery with continuous component intelligence integrated into development tools, including Eclipse, IntelliJ, Jenkins, Bamboo, SonarQube and more. Schedule a demo today

After spending a lot of money running our dev environment on AWS, we bought a single server for us to play with our application as well as other applications we wanted to test. With three developers and a user guy unleashed on a single machine, the saying too many cooks (no offence to the Chef guys) spoil the kitchen cannot be more true!

Multi-app environment

We wanted to install multiple applications along with their set of dependencies. Doing so has many a times left me with one messy dev box due to conflicting dependencies etc. Docker’s natural use case is to segregate apps into their respective containers.

Portability

Setting up a fresh environment is a breeze now. No more continuos toggling between a installation tutorial and terminal to do the set up. Just run docker build, have a coffee break and when you get back your environment is ready.

Ease of un-installing apps

Instead of undoing installation steps, just removing the docker image cleanly removes the app along with it’s dependencies without impacting other apps.

Docker Repository

DRY principle here!

The Bad

  • Building docker images and pushing to repository takes considerable time.
  • The build or repository push breaks down at times due to connectivity issues. Thankfully re-running doesn’t start from inception. I later found that the push was quite slow from India, it was all good when I tried push from our dev server in US.
  • Significant disk space usage if you don’t cleanup old images.

Want to check out a tutorial?

I published a Docker tutorial here.

The DevOps Zone is brought to you in partnership with Sonatype Nexus. Use the Nexus Suite to automate your software supply chain and ensure you're using the highest quality open source components at every step of the development lifecycle. Get Nexus today

Topics:

Opinions expressed by DZone contributors are their own.

The best of DZone straight to your inbox.

SEE AN EXAMPLE
Please provide a valid email address.

Thanks for subscribing!

Awesome! Check your inbox to verify your email so you can start receiving the latest in tech news and resources.
Subscribe

{{ parent.title || parent.header.title}}

{{ parent.tldr }}

{{ parent.urlSource.name }}