The Curious case of Docker!!! Part-1

What DOCKER does?

  • It carves up a computer into sealed containers that run your code.
  • Gets the code to and from your computers.
  • Builds these containers for you.
  • It is also a social platform for you to find and share containers.
  • Docker is not VM
  • Docker is just your OS carved out into little isolated spaces.

What is a CONTAINER then?

  • A self-contained sealed unit of software.
  • Contains everything required to run the code.
  • Includes OS and requisite components like memory and storage

What does a container contain?

  • Code
  • Configs
  • Processes
  • Networking
  • Dependencies
  • Operating system

Containers are light weighted as they don’t really need to run on a hypervisor but can run directly on the host machine’s kernel.

How Docker able to carve out container out of OS (Operating System)?

Linux Server

The Docker Engine:

Docker engine is a Client-server application with the following major components running as the internals of it and they are:

  1. A server that is long-running which is called a daemon process
  2. A RestAPI which specifies interfaces that programs can use to communicate with the daemon and be able to instruct it on what to do next.
  3. A CLI client (the docker command)
  4. CLI use the docker provided RestAPI to control or interact with the Docker daemon by scripting or by direct commands.
  5. Docker daemon manages the part of creating & managing the docker objects like Images, Container, Networks and the volumes.

Docker on Your Computer

To be continued....

Science & Technology, Technology training , , , , ,

Discover more from Logic Searcher

Subscribe now to keep reading and get access to the full archive.

Continue reading