Dockerization Lab is an educational repository designed to teach you how to containerize your applications using Docker and Docker Compose, step by step.
It starts with the fundamentals, introduces Docker Compose, and then applies everything to a real-world NestJS + PostgreSQL project.
- Understand what Docker is and how it works
- Learn about images, containers, volumes, and networks
- Use Docker Compose to manage multi-container applications
- Apply Dockerization principles to a NestJS backend project
- Build a reusable structure for future apps
| Section | Description | Branch |
|---|---|---|
| 01 - Introduction to Docker | Learn Docker fundamentals and build your first βHello Dockerβ container | 01-introduction-to-docker |
| 02 - Docker Compose Basics | Learn how to orchestrate multiple containers and link them together (based on Sportline) | 02-docker-compose-basics |
| 03 - NestJS Dockerization | Full example: Dockerizing a NestJS + PostgreSQL application | coming soon |
Each topic is developed in its own branch.
To explore a topic:
# Clone this repository
git clone https://github.com/DavidZapata1312/dockerization-lab.git
cd dockerization-labgit checkout 01-introduction-to-docker Each branch contains its own folder structure and README.md with explanations and examples.
Before you start, make sure you have installed:
Docker
Docker Compose
Basic knowledge of the terminal
Learn the basics β 01-introduction-to-docker
Orchestrate multiple services β 02-docker-compose-basics
Dockerize a real app (NestJS + PostgreSQL) β Coming soon π§
Created by David Zapata as a practical and educational guide for developers learning Docker step by step. Feel free to fork, adapt, and contribute!
βLearn once, run anywhere β thatβs the power of Docker.β