Docker for Broke Developers: Learning It the Hard Way
===================================================== This is my journey of learning Docker. I'm figuring it out as I go. I'll share what I've learned so far. The Problem I've been avoiding Docker ...

Source: DEV Community
===================================================== This is my journey of learning Docker. I'm figuring it out as I go. I'll share what I've learned so far. The Problem I've been avoiding Docker for a time. It seemed complicated. I thought, "Why do I need containers when I can just run my code on my machine?". Then I tried deploying my app and it was a nightmare. The "works on my machine" problem drove me crazy. I installed Python 3.11. My colleague had 3.9 and our dependencies broke. I spent hours debugging environment issues of shipping my app. What is Docker? Docker is a way to package my app and all its dependencies into a container. I can ship this container anywhere. It will run the same. No more environment issues. I used to have to install the Python version, pip packages and system libraries on my machine and server. . With Docker I can build an image that defines everything my app needs. I can run this image on my laptop, server or CI/CD pipeline. It will always be the same