Level Up Coding - Medium
•
2026-04-25 00:18
From Scratch: Deep dive into a docker image and build a custom one
Docker itself, in both build and runtime, looks like a mysterious blackbox, doing magic tricks. Whenever I was writing a Dockerfile, in the FROM instruction, I was asking myself, “I build the image from a base image. Then they build the base image from what?”In this article, by decomposing a docker image, it’ll be shown that what those magic tricks really are. The approach that is discussed here, ...