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.

Categories
DevOps

How to rebalance Docker service

Docker services are not automatically rebalanced after events that affect Docker Swarm nodes, so you have to initiate this process yourself.