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

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