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…
Category: Docker
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…
SSL CA Problem on CentOS7 Docker and Solution
When I’m playing with CentOS7 docker image on MacBookPro M1, it looks like it doesn’t connect to the servers which require HTTPS connection. For example, when I run yum -y update the command it returns curl: (77) Problem with the SSL CA cert (path? access rights?). Hmm, it looks like an OS Bug because my…
Deploy HA nginx to AWS ECS with Geolocation Routing via Terraform
Today, I want to refactor the Deploy nginx docker to AWS ECS with Terraform Automation project from a single region to multi-region support. This time, I pushed all of Terraform source code to my GitLab account. Now, the updated project is creating all infrastructure in Ireland and N.Virginia region.Now, we have a geo-location-based route policy…
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…
Take your GitLab backup everyday if it works in Docker
I’m using GitLab in docker (because I love containerization) and I’m really okay with that because I can move the GitLab environment everywhere if I need and I can feel more elastic when I’m using docker. GitLab backups are really so important because you are keeping all of the source code and maybe wiki maybe…