Categories
DevOps

How to use multi-stage build to compile an application

Use Docker or Pod Manager multi-stage build to compile Nginx from source code with additional headers-more-nginx-module module using Debian Bullseye image.

Categories
DevOps

How to query Docker socket using curl

Query Docker socket using curl.

Categories
DevOps

How to inspect and improve docker image using dive utility

Inspect and improve docker image using dive utility for exploring each layer in a docker image.

Categories
DevOps

How to squash Docker image

Squash Docker image to remove unnecessary layers in case you do not have a need to keep them.

Categories
DevOps

How to deal with high user id in a dockerfile

Solve the issue related to the high user id in a dockerfile.

Categories
DevOps

How to alter task history retention inside Docker Swarm cluster

Alter task history retention inside the Docker Swarm cluster to ensure that there are no stopped containers.

Categories
DevOps

How to create MongoDB cluster using Docker

Create a MongoDB cluster using Docker.

Categories
DevOps

How to create a MongoDB container with a designated user

Create a MongoDB container with a designated user.