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

DZone 's Guide to

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

· Cloud Zone ·
Free Resource

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.

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

Opinions expressed by DZone contributors are their own.

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

{{ parent.tldr }}

{{ parent.urlSource.name }}