Over a million developers have joined DZone.

Docker – A Lightweight Open-Platform that Works like a Charm

· Cloud Zone

Build fast, scale big with MongoDB Atlas, a hosted service for the leading NoSQL database on AWS. Try it now! Brought to you in partnership with MongoDB.

Docker is not just a hyped technology, it is proving its metal and providing contemporary ways to manage distributed applications.

Most of the architects have either started leveraging Docker or planning to do it in near future – that’s the impact it has made in such a short time-frame and search on Google Trends says it all:

A simple analogy - Docker is like a ZIP archive (or EAR), which packages all dependencies in a single bundle to be shipped independently. It can be opened by any tool, which understands ZIP format.

The search on Google Trends says it all about it's popularity:

A quick glance at Docker's capabilities:

A quick set of instructions to get a container running locally with Tomcat using Docker to showcase it's ease-of-use.

· Step 1 – Install Docker on your system

      Install Docker by following the link below based on the platform you are using (Yes, even Windows is supported) https://docs.docker.com/installation/#installation

· Step 2 – Pull Tomcat Image from Docker repository (No need to download tomcat – docker magic of repository)

$sudo docker pull tomcat

· Step 3 – Start Tomcat container

$sudo docker run –i –t tomcat /bin/bash
$cd /usr/local/tomcat/bin
$tail –f ../logs/catalina.out

· Alternative Step (instead of step 3) – You can simply use following short-cut command:

$sudo docker run tomcat

It’s quite obvious that Docker is not just all words; action speaks louder than words!!

A simple consolidation of all Docker's use-cases & the list is expanding:


All data and information provided on this site is for informational purposes only. This site makes no representations as to accuracy, completeness, correctness, suitability, or validity of any information on this site and will not be liable for any errors, omissions, or delays in this information or any losses, injuries, or damages arising from its display or use. All information is provided on an as-is basis.This is a personal weblog. The opinions expressed here represent my own and not those of my employer or any other organization.

Now it's easier than ever to get started with MongoDB, the database that allows startups and enterprises alike to rapidly build planet-scale apps. Introducing MongoDB Atlas, the official hosted service for the database on AWS. Try it now! Brought to you in partnership with MongoDB.

cloud,paas,docker,cloud platforms,containers,docker and paas

The best of DZone straight to your inbox.

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.

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

{{ parent.tldr }}

{{ parent.urlSource.name }}