Docker Multi-Stage Builds: An In-depth Guide

Introduction Docker has revolutionized the way we develop, package, and deploy applications. It provides a consistent environment for applications to run, from development to production, reducing the “it works on my machine” problem. One of the most powerful features Docker has introduced is multi-stage builds. This feature helps us create lean, efficient containers without the … Read more

Mastering Docker Run Command: A Comprehensive Guide

The use of Docker in contemporary software development is widespread, and for good reason. Docker helps developers build lightweight and portable software containers that simplify application deployment. One of the most powerful commands in Docker’s command-line interface (CLI) is the docker run command. However, its vast number of options can make it a bit daunting … Read more

Let’s Learn Kubernetes – Part 3

In this part, we will learn minikube and kubectl. We will run a Kubernetes cluster on a local computer. Let’s start for learn! minikube and kubectl This is the minimal production cluster setup. It should contain at least two master and N nodes. What is minikube? Minikube means one node cluster with master and node. … Read more

Let’s Learn Kubernetes – Part 2

Hello, here is Part 2 of the Let’s Learn Kubernetes series. If you want to read Part 1, you can follow Let’s Learn Kubernetes – Part 1 Deployment and StatefulSet In this example, now everything is running perfectly without any issue and the user can access the application via a browser. When the Application container … Read more

Let’s Learn Kubernetes – Part 1

Hi, I’m starting to write a blog post series about Kubernetes basics and this is Part 1. You can follow the guide to understand “What is Kubernetes?” and “What you can do with it?”. What is Kubernetes? Kubernetes is an open-source container orchestration tool for automating software deployment, management, and scaling smoothly and fast. The … Read more

Deploy nginx docker to AWS ECS with Terraform Automation

Last night, I want to play with AWS ECS Service. I wrote a terraform code to deploy everything at the same time. The terraform is creating all of the resources for run ECS in different VPC and isolated from your other resources. I used nginx:alpine docker image for this project but if you need, you … Read more

Enable Logrotation for Docker Containers

When you install and use Docker on your system, the container running in the docker can generate a large number of logs while you are not aware of the background. Although the Docker service normally supports logrotate, this support comes off by default. If one day your disk ends suddenly, then you will know exactly … Read more