Docker — Container era (Part — II )

Sowmya.L.R
2 min readAug 22, 2023

--

Photo by Rubaitul Azad on Unsplash

In our previous article, Docker — Container era (PART-I)

We have discussed issues faced by developers, containerization, VMs pros, and cons. In this article, we can discuss in detail docker’s architecture and basic commands used in docker

In the context of docker image and container are fundamental concepts.

Docker Image:

Docker image is nothing but a lightweight bundled package of application code along with its dependencies, configuration files

Docker container:

It is the runtime instance of the docker image.

DOCKER ARCHITECTURE

https://k21academy.com/wp-content/uploads/2020/05/2020-05-12-16_37_26-PowerPoint-Slide-Show-Azure_AZ104_M01_Compute_ed1.png

Docker follows client-server architecture and the three main components in docker are

  1. Docker Client
  2. Docker daemon
  3. Registry

CLIENT

It is a command line tool that issues commands to the docker daemon using REST APIs.

DOCKER DAEMON

It is a daemon process and is the only source of contact ie. Receiving requests from clients, managing the container, and images, and sending the responses from containers.

REGISTRY

It is the place where images are stored and shared across the community. This registry can be either public or private.

DOCKER WORKFLOW AND BASIC COMMANDS

Source: Prepared by myself
  1. Creating docker images
  2. Run containers
  3. Manage containers
  4. Push and pull images

Here is the detailed list of commands used in docker

To get more updates follow me on

https://www.linkedin.com/in/sowmyalr/

--

--

Sowmya.L.R
Sowmya.L.R

No responses yet