date: 2025-08-09
topics: [Docker, Microservices, DevOps,container]
day: 23
Day 23 β π From Local Chaos to Global Consistency β The Docker Way
β
What I Worked On
- Explained What is Docker & why itβs useful
- Compared Without Docker β vs With Docker β
- Built 3 microservices and ran them in containers
- Used Docker Compose to run all services together
- Added Docker commands cheat sheet
- Structured a clear README for step-by-step learning
π GitHub README
π What I Learned
- Clear understanding of Docker fundamentals and microservices setup
- How Docker containers solve environment setup issues
- Benefits of Docker Compose for microservices
- Writing beginner-friendly technical documentation
β Blockers
- Common Docker mistakes :
- Forgetting to rebuild image after code changes
- Not cleaning up unused containers/images (leads to storage bloat)
- Using
latest
tag without version control
- Exposing unnecessary ports
- Hardcoding credentials in Dockerfiles
π§ Reflection
- Containers ensure consistency across environments (no βworks on my machineβ issues)
- They enable faster deployments and scaling without heavy infrastructure changes
- Isolation between services reduces conflicts and security risks
- Portability means the same container runs on laptops, servers, or the cloud with no extra setup