Category: Theoretical fundaments


  • Understanding docker memory usage

    Recently, I was asked about Docker’s memory consumption. Before diving into the details, it’s crucial to clarify whether we’re referring to RAM or storage.” When it comes to file system storage, Docker images are built upon a series of distinct layers. The effective size of an image is the sum of its distinct layers. It’s…

  • Docker Image Size Explained

    When we look at how Docker images are layered, it raises questions about how they are stored. Take a Node application as an example: it’s built on top of a base image (node), and then several steps are added to create the final application image. Before building our image, let’s first see where Docker actually…

  • Docker Layers Explained

    When working with Docker, we create images from a file called a Dockerfile — like a recipe that describes step by step how the image should be built. It usually starts with a base image, and from there Docker runs instructions to add dependencies, install packages and libraries, generate keys, create users and directories, and…