Dockers and Containers

Search for a command to run...

No comments yet. Be the first to comment.
Introduction Argo Workflows is an open-source workflow orchestration tool for Kubernetes. In this tutorial, we will walk through the steps to install Argo Workflows on a Kubernetes cluster and access its server UI. Step 1: Check Current Context Befor...

The Azure CLI is a powerful tool for managing and automating tasks in Azure. To use the Azure CLI, you need to log in to your Azure account. In this blog, we will go over the different methods you can use to log in to Azure using the Azure CLI. Log i...

Connecting to an Azure VM from windows can be a bit tricky and you may get errors like WARNING: UNPROTECTED PRIVATE KEY FILE! Permissions for ' ' are too open, It is required that your private key files are NOT accessible by others This private key w...

A methodology where all the configurational and/or infrastructure codes are set up in a separate single repository is known as GitOps. This suits tools like Ansible, Terraform and Kubernetes, where they do require separate files for their configurati...

Straight to the point, there are tons of things to ask in JS, but these are a few of them which can be a quick refresher. Event loop, Single-threaded programming language - Explain, Asynchronous and synchronous, Promises and callbacks, "This" ke...

It is day 2 of documenting my DevOps learning journey .
This blog is a short introduction or can say ,Pre-requisite before starting Docker.
A small recap from yesterday's blog .
A DevOps engineer handles, manages ,deploys the entire project , instead of focusing on one frontend/backend/etc.
Containers run the services in an isolated environment and it runs irrespective of dependencies and compatibility since containers has everything that requires for the application to run.
Docker creates image which is a template like structure where everything that is required to run the project can be found . This docker image can be pushed online , sent to people etc.
Running a docker image , results in a running container , in short docker container is a running instance of the docker image. But , with a single image , many containers can be run .
There are two kinds of containers .
They have their own perks and cons ,but here I am writing about Linux containers.
One can run Linux based docker on a windows machine through Linux VM as well as Docker desktop which does all the work for you to getting started in using Linux containers on a windows machine.
A lot of images can be found on DockerHub , Amazon Elastic Container Registry , Google container registry , etc.
The images can be stored in public , where anybody can access it, as well as private , where only you can access/control it.
There are a tons of applications which started releasing their product in a docker image format which can solve version upgrade , update problems as well .
Alpine images are very much lighter compared to all other Linux containers and can have your whole application on MBs rather than GBs , I will be using Alpine for most of the images here.
An application should be able to keep up and running in spite of how much ever big the traffic is . When the traffic gets huge , there are chances for the app to be down and this is where the scalability of containers comes to place. Containers as they are isolated and independent , we can also take advantage by using them to scale up or down depending upon the need by simply creating more instances of the container .
A container can have frontend-backend-database everything on it , also as they are independent, we can have the container set up according to our need .
For example,
If frontend is getting overloaded , we can create a container with only front-end on it , and enable the other two only when it is required.
This way even if one container goes down , the other containers can manage it.
Docker can be installed on the following link ,
Docker Desktop for Mac and Windows | Docker
Okay . So hold on, stay with me as we get to know docker more and DevOps even more.
Okay Then , Will get back Tomorrow with more!
Peace be upon you!