Category: Docker

Introduction to Dockerfiles: build your own images
Learn what a Dockerfile is, how the layered build process works, the basic instructions FROM, RUN, COPY, CMD and EXPOSE, and build your first custom image.

Docker port mapping: connect your containers to the outside world
Learn how Docker network isolation works, how to publish ports with -p, inspect network configuration, and run multiple containers on the same host without conflicts.

Interactive containers and exec: get inside, run commands, get out
Learn to open shells inside containers, run commands in live containers with docker exec, copy files with docker cp, and know when to use interactive vs. detached mode.

Docker images and containers: understanding the relationship
What exactly is a Docker image, how are layers stacked, and what happens to a container when it stops? The image-container relationship is the mental model everything else depends on.

Installing Docker and running your first container
Install Docker on Linux, macOS, or Windows and run your first container. Docker's architecture, the image vs container distinction, and the essential commands to get started.

Why containers exist: from physical servers to Docker
Understand the problem containers solve before touching a single command. The evolution of software deployment: from physical servers to virtual machines to containers.