Posts

Showing posts from June, 2026

Docker From Scratch – Day 3: Understanding Docker Images and Dockerfiles

🐳 Docker From Scratch – Day 3: Understanding Docker Images and Dockerfiles In the previous article, we installed Docker, explored Docker architecture, and ran our very first container. At this point, most beginners become comfortable running commands such as docker run nginx and docker ps . However, an important question still remains unanswered. Where does Docker actually get the Nginx application from? How does Docker know what software, libraries, and dependencies are required to run an application successfully? The answer lies in two of the most fundamental concepts in Docker: Docker Images and Dockerfiles. To understand Docker Images, imagine that you want to build a house. Before construction begins, an architect creates a blueprint. The blueprint contains all the information needed to construct the house, including dimensions, room layouts, electrical wiring, plumbing, and structural details. The blueprint itself is not a house, but it serves as a template from which mul...

Docker Day 2: Docker Installation, Architecture and Your First Container

Docker Day 2: Installation, Architecture and Your First Container 🐳 Docker From Scratch – Day 2 Docker Installation, Architecture & Your First Container 📋 Table of Contents Why Install Docker? Docker Architecture Installing Docker on Ubuntu Running Your First Container Image vs Container Essential Commands Hands-on Practice Why Install Docker? In Day 1 we learned why containers were created and how they solved the limitations of Virtual Machines. Today we move from theory to practice. Analogy: Learning Docker without installing it is like learning how to drive by only reading a car manual. Eventually you must sit in the driver's seat. Docker Engine is the software responsible for building images, creating containers, networking, storage management and execution of containerized applications. Docker Architecture Whenever you run a Docker command, several components work together. Developer ↓ Docker CLI ↓ Docker Engine ↓ Docker Image...