<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:dc="http://purl.org/dc/elements/1.1/">
  <channel>
    <title>DEV Community: Fjr</title>
    <description>The latest articles on DEV Community by Fjr (@fjr).</description>
    <link>https://dev.to/fjr</link>
    <image>
      <url>https://media2.dev.to/dynamic/image/width=90,height=90,fit=cover,gravity=auto,format=auto/https:%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Fuser%2Fprofile_image%2F3904227%2F9af58723-e277-4bbe-84e6-93581ae1785a.png</url>
      <title>DEV Community: Fjr</title>
      <link>https://dev.to/fjr</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/fjr"/>
    <language>en</language>
    <item>
      <title>Docker Chronicles Ep. 1: The Curse of the "Betrayed Friend"</title>
      <dc:creator>Fjr</dc:creator>
      <pubDate>Fri, 01 May 2026 06:23:25 +0000</pubDate>
      <link>https://dev.to/fjr/docker-chronicles-ep-1-the-curse-of-the-betrayed-friend-3l20</link>
      <guid>https://dev.to/fjr/docker-chronicles-ep-1-the-curse-of-the-betrayed-friend-3l20</guid>
      <description>&lt;blockquote&gt;
&lt;p&gt;Long ago, the developer world lived in a state of constant distress. Hope was dimming under a legendary ancient curse: "But... It worked on my machine!"&lt;br&gt;
This is the story of how that curse was broken by a hero. A hero that arrived in a flash of light to save our sanity. This is the story of The Great Docker.&lt;/p&gt;
&lt;/blockquote&gt;

&lt;h2&gt;
  
  
  The Tragedy of Jack and Rose
&lt;/h2&gt;

&lt;p&gt;Jack spent weeks building a bombastic computer science project. It was perfect. It was beautiful. It worked like a charm on his laptop.&lt;/p&gt;

&lt;p&gt;His best friend, Rose, was so excited to work together. Jack handed over the code, and Rose tried to run it on her system.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;BOOM. 💥&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;Errors everywhere. Red text scrolling like a digital nightmare. Her system didn't just crash; it felt like it gave up on life.&lt;/p&gt;

&lt;p&gt;Rose felt betrayed. "Jack, how could you do this to me? I thought we were partners! Why did you build something that won't work on my machine?"&lt;/p&gt;

&lt;p&gt;Jack felt so sorry; he was emotional. He had given her all the requirements, but he realized one thing: his system environment was different. Their worlds were incompatible. There wasn't enough room on the "system boat" for both of them.&lt;/p&gt;

&lt;p&gt;Just as Jack was about to give up, a hand touched his shoulder. A whale-shaped hero emerged from the mist: &lt;strong&gt;The Great Docker.&lt;/strong&gt;&lt;/p&gt;

&lt;h2&gt;
  
  
  Step into the Docker World:
&lt;/h2&gt;

&lt;p&gt;The "Apartment" Mystery When Jack first saw Docker, he scoffed. "Oh, so you’re just a Virtual Machine (VM)? Boring."&lt;/p&gt;

&lt;p&gt;Docker just smirked. "Step forward into my world, kid. Let me show you the difference."&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;h3&gt;
  
  
  The Virtual Machine (The Separate Mansions)
&lt;/h3&gt;

&lt;p&gt;Imagine a giant piece of land (your Hardware). A VM is like building three separate, massive mansions on that land. Each mansion has its own foundation, its own kitchen, and its own security guard (Guest OS/Kernel). It’s heavy. It’s slow. Each mansion takes up its own huge chunk of memory and CPU. To give your app to a friend, you have to give them the entire mansion.&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;h3&gt;
  
  
  The Docker Way (The Smart Apartment Complex)
&lt;/h3&gt;

&lt;p&gt;Docker is different. Docker uses the Host Kernel (the "Main Infrastructure" of the city). Instead of building 3 mansions, Docker builds 3 Containers (Smart Apartments).They are Isolated—they don't contact each other—but they use the same city water and electricity (The Kernel). Because they don't need a separate Kernel for every container, they are lightweight and easy to share.&lt;/p&gt;
&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;strong&gt;The Secret Sauce:&lt;/strong&gt; Whether you are on Mac, Windows, or Linux, as long as you have the Linux kernel (or a way to talk to it), the container fits perfectly. You don't need a whole new computer you just need the container!&lt;/p&gt;

&lt;h2&gt;
  
  
  Why The Great Docker?
&lt;/h2&gt;

&lt;p&gt;Docker looks at Jack and says, "Kid, I’m not just a box. I’m a lifestyle change. Here is why every developer in the world is looking for me:"&lt;/p&gt;

&lt;h3&gt;
  
  
  The 3 Superpowers of the Great Docker
&lt;/h3&gt;

&lt;p&gt;1: &lt;strong&gt;The "It Works Everywhere" Shield&lt;/strong&gt;&lt;br&gt;
You know how Rose's system blasted? With me, that never happens. I package your code, your libraries, and your settings into a single Container. If it works on your laptop, it will work on Rose’s laptop, the production server, and even your grandma's old computer (if it runs Docker). No more environment drama!&lt;/p&gt;

&lt;p&gt;2: &lt;strong&gt;The "Flash" Speed (Efficiency)&lt;/strong&gt;&lt;br&gt;
Virtual Machines are like old, heavy giants. They take minutes to wake up because they have to start a whole Operating System. But me? I'm a ninja. I start in seconds. Because I share the Host Kernel, I don’t waste your RAM or CPU. You can run dozens of me without your laptop turning into a heater!&lt;/p&gt;

&lt;p&gt;3: &lt;strong&gt;The "Forbidden Room" (Isolation)&lt;/strong&gt;&lt;br&gt;
In the old days, if one project needed Python 2 and another needed Python 3, they would fight like cats and dogs until your system crashed. In the Docker world, each container is its own 'Forbidden Room.' What happens in Container A stays in Container A. No more 'Package Wars' on your main system!&lt;/p&gt;

&lt;p&gt;Now that you’ve met the Hero, it’s time to see if you have what it takes to join the crew. Complete these three tasks to earn your Episode 1 Badge.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Task 1: The Summoning Ritual&lt;/strong&gt;&lt;br&gt;
You can’t fight the "It works on my machine" curse without the right weapon.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Your Mission:&lt;/strong&gt; Install Docker and run this command in your terminal: docker run hello-world&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;The Goal:&lt;/strong&gt; If you see a message saying "Hello from Docker!", the Hero has officially entered your system. If it fails... well, you might still be on the sinking ship.&lt;/p&gt;

&lt;p&gt;Task 2: The "Betrayal" Confession&lt;br&gt;
We’ve all been Jack or Rose at some point.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;The Question:&lt;/strong&gt; What was the most "bombastic" project you ever built that completely exploded when you gave it to a friend or a teacher?&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Action:&lt;/strong&gt; Tell your story in the comments. Let’s heal from our collective trauma together.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Task 3: The Brain Teaser&lt;/strong&gt;&lt;br&gt;
In our story, we said Docker is like an Apartment Complex and a VM is like a Mansion.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;The Riddle:&lt;/strong&gt; If you have a very tiny computer with very little RAM (electricity), which one would you choose to run 10 different apps? The Apartment or the Mansion? Why?&lt;br&gt;
📢 &lt;strong&gt;The "Cliffhanger"&lt;/strong&gt;&lt;br&gt;
Stay tuned for Episode 2: The Secret Scroll (Dockerfile), where we learn how Jack writes the magical instructions to bottle up his project so it never sinks again!&lt;/p&gt;

</description>
      <category>webdev</category>
      <category>docker</category>
      <category>programming</category>
      <category>devops</category>
    </item>
  </channel>
</rss>
