Ajay Guhade’s Post

🚀 From “docker run” to Mastering Containers — Day 29 & 30 of My DevOps Journey For a long time, Docker felt like magic. day29:[https://lnkd.in/dbz6jhcA] day30:[https://lnkd.in/dFczzYdj] You type: docker run nginx And suddenly… a web server is running. But what actually happens behind the scenes? Over the last 2 days, I stopped just running containers — and started understanding how they truly work. 📦 Day 29 – Docker Fundamentals ✔ What containers really are ✔ Containers vs Virtual Machines (the real difference) ✔ Docker architecture (Client → Daemon → Image → Container → Registry) ✔ Ran Nginx in browser ✔ Explored Ubuntu container interactively ✔ Managed container lifecycle basics The biggest realization? Containers don’t virtualize hardware. They virtualize the OS layer. That’s why they’re lightweight. That’s why they’re fast. That’s why modern DevOps runs on them. 🧠 Day 30 – Images & Container Lifecycle This is where things got serious. ✔ Pulled nginx, ubuntu, alpine ✔ Compared image sizes (Alpine ≈ 5MB 😳) ✔ Explored image layers using docker image history ✔ Understood layer caching & optimization ✔ Practiced full container lifecycle: Create → Start → Pause → Stop → Restart → Kill → Remove ✔ Inspected containers for IP, ports, mounts ✔ Cleaned up Docker disk usage Now I understand: 🔹 Images are layered, read-only templates 🔹 Containers are running instances 🔹 Layers make builds faster 🔹 Caching reduces CI/CD build time 🔹 Cleanup prevents disk bloat 💡 Why This Matters Every modern system today uses: • CI/CD pipelines • Kubernetes • Microservices • Cloud-native deployments And they all start with Docker. If you don’t understand images & lifecycle, you don’t truly understand modern deployment. 🔥 What Changed For Me Before: “I can run Docker.” Now: “I understand how Docker works internally.” That shift is powerful. Day 29 ✅ Day 30 ✅ DevOps consistency > motivation. On to Dockerfiles next 🚀 #DevOps #Docker #CloudComputing #Linux #Containers #LearningInPublic #100DaysOfDevOps #BuildInPublic #TechJourney #DevOpsKaJosh #TrainWithShubham

To view or add a comment, sign in

Explore content categories