Thursday, August 2, 2018


What is Docker and Why We Use ?

Docker Introduction || PhpMyPassion

What is docker ?
Docker is a container management service. The keywords of Docker are develop, ship and run anywhere. The whole idea of Docker is for developers to easily develop applications, ship them into containers which can then be deployed at anyplace.
Docker has two flavors : The Community Edition (CE) and the Enterprise Edition (EE)
Initial Release : March 2013
Mostly use on agile based project.
Why docker ?
  • Docker has the ability to reduce the size of development by providing a smaller footprint of the operating system via containers.
  • With containers, it becomes easier for teams across different units, such as development, QA and Operations to work seamlessly across applications.
  • You can deploy Docker containers anywhere, on any physical and virtual machines and even on the cloud.
  • Since Docker containers are pretty lightweight, they are very easily scalable.
For more details : why docker
Docker Terms :
Docker Engine : "Docker engine" is the part of Docker which creates and runs Docker containers.
Docker Hub : SaaS service for sharing and managing application stacks.
( Docker Hub is a registry service on the cloud that allows you to download Docker images that are built by other communities. You can also upload your own Docker built images to Docker hub )
Docker Compose : Docker Compose is a tool for defining and running multi-container Docker applications. It uses Yaml files to configure the application's services and performs the creation and start-up process of all the containers with a single command.
Using Compose, it is basically a three-step process.
  1. Define your app's environment with a Dockerfile so it can be reproduced at anyplace.
  2. Define the services that make up your app in docker-compose.yml so they can be run together in an isolated environment.
  3. In the end, run docker-compose up and Compose will start and run your entire app.
For more information read: Docker compose
Docker Image: There everything is based on Images.
Docker file: The Dockerfile is essentially the build instructions to build the image.
For more details : Docker file
Docker-compose.yml : Config. Application’s services.

More About Docker:

About Author -

Hi, I am Anil.

Welcome to my eponymous blog! I am passionate about web programming. Here you will find a hug of information on web development, web design, PHP, Python, Digital Marketing and Latest technology.

Subscribe to this Blog via Email :