techlabuzz.com

  • Home
  • Android
  • Windows
  • News
  • How To
  • Security
  • Tips & Tricks
  • Guest Post

What is Docker ?

February 28, 2019 by Akanksha Priya Leave a Comment

Docker-Image-Logo

Now- a-days, Docker has become one of the fastest-growing technologies in DevOps and web development. Most important reason behind its popularity is that docker is lightweight. Docker is an open source software platform to build, ship, and run any App, anywhere. It was first released in 2013 by Docker Inc.

Table of Contents

  • Why do we need Docker?
  • Why use Docker
  • Docker Architecture
  • Advantages of Docker
  • Disadvantages of Docker
  • Future Scope

Why do we need Docker?

docker-image-logo

Imagine, If I am giving 10 GB of RAM to all my VMs and I have 6 microservices running on the different Virtual machines. In that case these VMs will require 60 GB of RAM. Now to configure host machines almost 65 Gb of RAM should be there in my host machine. Obviously, this is not a good idea for such an architecture as I am wasting a lot of resources here.

But, if we use Docker here, we can containerize the application and there is no virtual machine required. By using Docker, we can save the resources, and hence use resources efficiently.

Why use Docker

I guess efficiency is the most important reason to use the docker. Docker Containers run on the Kernel Level. It means containers can share resources efficiently.

Docker Architecture

Docker uses client-server architecture. These are the essential components:

  • Docker Client
  • Docker Host
  • Docker Daemon
  • Docker Repository

Let us understand these in brief:

  • Docker Client is used to manage the components of the Docker Daemon like: images, containers, data volume etc.
  • Docker host is the machine where the docker engine is installed.
  • Docker Daemon acts like the brain of the whole operation. It evaluates the request, talks to underlying operating system and provisions the container.
  • Docker Registry is the type of a store from where we can pull any images. The most popular open communities for the Docker image are nginx, Apache HTTP server.

Apart from these following are the important things:

  • Docker Image: Docker image is the template that is used to build the container. To download the docker image run the following command in docker container: docker run image
  • to remove docker image run this command: Docker rmi image
  • Docker Container: It is the instance of the Docker image. The basic purpose of the Docker is to run the container. Running of containers is managed by using docker run command.

Advantages of Docker

  • Build, Ship, and run any App, anywhere: By using Docker you can build, ship any App on any platform such as Windows, Linux etc.
  • Greater efficiency: As I told you earlier, it runs on the kernel level. So, it provides better efficiency.
  • Isolation: By isolation, I mean that dependencies or setting within a container will not affect any installations or configuration on your computer that are previously installed, or any other container that may be running. By using separate containers for each of the application, we can avoid conflict dependencies.
  • Environment Management: Docker makes it easy to maintain different environment for different purpose. Here the environment means we can create a separate container for testing, development and production on the same Linode and easily deploy each one separately.
  • Continuous Integration: Docker works well as a part of the Continuous integration pipelines with various tools like Travis, Jenkins etc.

Disadvantages of Docker

Under Development: Docker is yet not fully developed in the market. It is under the growing technology. Some of the feature request are under progress like container self-registration, and self-inspects, copying files from the host to the container, and many more.

Future Scope

Many times, we think of whether Docker is the future of Virtualization? Yes, it is the future.

If you see the above example as I have explained, there is a lot of memory wastage and, we cannot re-allocate the used memory as it is blocked. This is a major issue because RAM is costly.

So, how can we avoid this problem? To avoid this problem, we can use docker. If I use Docker, my CPU will allocate exactly the amount of memory that is required by the Docker Container and no memory wastage.

You can download Docker from here. Feel free to contact us if you have any query regarding this topic.

Filed Under: Docker

Leave a Reply Cancel reply

Your email address will not be published. Required fields are marked *

eighteen − twelve =

FOLLOW US

  • Facebook
  • Instagram
  • Pinterest
  • Twitter
  • YouTube

Archives

  • August 2022
  • July 2022
  • May 2022
  • April 2022
  • March 2022
  • February 2022
  • December 2021
  • October 2021
  • September 2021
  • August 2021
  • July 2021
  • June 2021
  • May 2021
  • February 2021
  • January 2021
  • December 2020
  • November 2020
  • October 2020
  • September 2020
  • August 2020
  • July 2020
  • June 2020
  • May 2020
  • April 2020
  • March 2020
  • February 2020
  • January 2020
  • December 2019
  • November 2019
  • October 2019
  • September 2019
  • August 2019
  • July 2019
  • June 2019
  • May 2019
  • April 2019
  • March 2019
  • February 2019

Categories

  • 5G Technology
  • Android
  • Artificial Intelligence
  • Big Data
  • Cloudification
  • Coronavirus
  • Digital Currency
  • Docker
  • Edge Computing
  • Games
  • General
  • Guest Post
  • How To
  • Immersive Experience
  • iOS
  • IoT
  • iPhone
  • Linux
  • Mac Apple
  • Machine Learning
  • News
  • Robotics
  • Security
  • Serverless Computing
  • Smartband
  • Smartphones
  • Smartwatch
  • Tech
  • TikTok
  • Tips & Tricks
  • Windows

Mind behind this blog

On best days a Blogger and a passionate Software Engineer, with skills on various aspects whether be it Web Development, Internet of Things, Search Engine Optimization and also an Ethical Hacker. Has a good grip on the Latest tech with Networking and Cloud Security. Adores the profession and always into it.

Follow US

  • Facebook
  • Instagram
  • Pinterest
  • Twitter
  • YouTube

Copyright © 2018-2022 · techlabuzz.com· All rights Reserved. And Our Sitemap. All Logos & Trademark Belongs To Their Respective Owners·


About Us | Contact Us | Privacy Policy