DevOps(Day-16) :Introducing Docker

I like to explore the technology in DevOps area where I write blog about my learning each day on the tools that is mostly used in Industries for DevOps practices. You can go through my blogs and reach me out in LinkedIn for any suggestions.
First of all, let's put our focus on what is a container.
Containers
These are isolated environments containing their processes, networks and mounts.

Docker
Docker is used to containerising applications that can run anywhere, anytime and as many times as you want in any environment.
Dockers can run on any flavour of OS on it as long as they have the same kernel.

Docker architecture

Docker Client
The Docker client uses commands to communicate with the Docker Daemon (Server). When a client runs any docker command on the docker client terminal, the client terminal sends these docker commands to the Docker daemon.
Docker Client uses Command Line Interface (CLI) to run the following commands
docker pull
docker build
docker run
Docker Host
Docker Host is used to providing an environment to execute and run applications. It contains the docker daemon, images, containers, networks, and storage.
Docker Registry
Docker Registry manages and stores the Docker images.
There are two types of registries in Docker -
Pubic Registry - Public Registry is also called a Docker hub.
Private Registry - It is used to share images within the enterprise.
Tasks
Use the
docker runcommand to start a new container and interact with it through the command line. [Hint: docker run hello-world]

Use the
docker inspectcommand to view detailed information about a container or image.
Use the
docker portcommand to list the port mappings for a container.
Use the
docker statscommand to view resource usage statistics for one or more containers.
Use the
docker topcommand to view the processes running inside a container.
Use the
docker savecommand to save an image to a tar archive.
Use the
docker loadcommand to load an image from a tar archive.
Thank you for reading my article.
Have a nice day.


