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:
- A server that is long-running which is called a daemon process
- 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.
- A CLI client (the docker command)
- CLI use the docker provided RestAPI to control or interact with the Docker daemon by scripting or by direct commands.
- 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
.. ..