<?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: Shushank Gautam</title>
    <description>The latest articles on DEV Community by Shushank Gautam (@shushank_gautam_7448f6ac3).</description>
    <link>https://dev.to/shushank_gautam_7448f6ac3</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%2F3623373%2Fb711edd9-d4e9-4d18-8900-7bed0ca34682.png</url>
      <title>DEV Community: Shushank Gautam</title>
      <link>https://dev.to/shushank_gautam_7448f6ac3</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/shushank_gautam_7448f6ac3"/>
    <language>en</language>
    <item>
      <title>🐳 Docker vs Virtual Machines (EP-2)</title>
      <dc:creator>Shushank Gautam</dc:creator>
      <pubDate>Sat, 22 Nov 2025 17:01:30 +0000</pubDate>
      <link>https://dev.to/shushank_gautam_7448f6ac3/docker-vs-virtual-machines-ep-2-1fnj</link>
      <guid>https://dev.to/shushank_gautam_7448f6ac3/docker-vs-virtual-machines-ep-2-1fnj</guid>
      <description>&lt;p&gt;If you’ve ever wondered why Docker feels lightning-fast while Virtual Machines feel bulky and slow, this post gives you a crisp, developer-focused explanation. No fluff — just clarity you can actually use.&lt;/p&gt;

&lt;p&gt;🏠 Virtual Machines: Carrying a Whole House Just to Use One Room&lt;/p&gt;

&lt;p&gt;When you run a Virtual Machine, you're not just starting your app — you’re loading:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;A complete operating system&lt;/li&gt;
&lt;li&gt;Its own kernel&lt;/li&gt;
&lt;li&gt;Virtual CPU, RAM, disk, and network&lt;/li&gt;
&lt;li&gt;Plus your application&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;In short, a VM creates a full mini-computer inside your real computer.&lt;/p&gt;

&lt;p&gt;🔒 Great isolation — but at a serious resource cost&lt;/p&gt;

&lt;p&gt;🧱 VM Architecture&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;Host OS
   ↓
Hypervisor (VMware / VirtualBox / Hyper-V)
   ↓
Guest OS (with its own kernel)
   ↓
Your Application
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;🐳 Docker: Light, Fast &amp;amp; Built for Modern Development&lt;/p&gt;

&lt;p&gt;A Docker container does NOT bring:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Its own kernel&lt;/li&gt;
&lt;li&gt;Virtual hardware&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;A container only includes:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;A tiny base image (Alpine, Ubuntu, Debian, etc.)&lt;/li&gt;
&lt;li&gt;App dependencies&lt;/li&gt;
&lt;li&gt;Application code&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;That’s literally it.&lt;/p&gt;

&lt;p&gt;Containers share the host machine’s kernel, so nothing needs to “boot.”&lt;/p&gt;

&lt;p&gt;🧩 Container Architecture&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;Host OS (Linux Kernel)
   ↓
Docker Engine
   ↓
Containers (no kernel inside)
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;This is why containers start in milliseconds and use far fewer resources.&lt;/p&gt;

&lt;p&gt;🪟 How Docker Works on Windows (The Secret: WSL2)&lt;/p&gt;

&lt;p&gt;Windows doesn’t have a Linux kernel.&lt;/p&gt;

&lt;p&gt;But containers need one.&lt;/p&gt;

&lt;p&gt;So Docker uses:&lt;/p&gt;

&lt;p&gt;✔ WSL2 (Windows Subsystem for Linux 2)&lt;/p&gt;

&lt;p&gt;WSL2 gives Windows a real Linux kernel inside a lightweight VM.&lt;/p&gt;

&lt;p&gt;Flow on Windows&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;Windows OS
   ↓
WSL2 (Real Linux Kernel)
   ↓
Docker Engine
   ↓
Containers
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;Older Docker versions used Hyper-V VMs, but WSL2 is much faster and far more efficient.&lt;/p&gt;

&lt;p&gt;🚀 In Short Bro !&lt;/p&gt;

&lt;p&gt;VMs = Full OS + Heavy + Strong Isolation&lt;/p&gt;

&lt;p&gt;Docker = Shared Kernel + Lightweight + Ridiculously Fast&lt;/p&gt;

</description>
      <category>devops</category>
      <category>docker</category>
      <category>tutorial</category>
      <category>linux</category>
    </item>
    <item>
      <title>Simply Docker Series (Ubuntu-Install)</title>
      <dc:creator>Shushank Gautam</dc:creator>
      <pubDate>Fri, 21 Nov 2025 18:31:44 +0000</pubDate>
      <link>https://dev.to/shushank_gautam_7448f6ac3/simply-docker-series-ubuntu-install-2a2p</link>
      <guid>https://dev.to/shushank_gautam_7448f6ac3/simply-docker-series-ubuntu-install-2a2p</guid>
      <description>&lt;p&gt;🐧 Linux Users — Let’s Set Up Docker (Ubuntu/Debian Style 🚀)&lt;/p&gt;

&lt;p&gt;Installing Docker on Linux works a little differently, but don’t worry — just follow these simple steps and you’ll have a clean Docker setup in no time.&lt;br&gt;
No jargon, no confusion. Just smooth sailing 🚢✨&lt;/p&gt;

&lt;p&gt;🔹 Step 1: Update Your System &amp;amp; Install Essentials&lt;/p&gt;

&lt;p&gt;Before installing Docker, refresh your package list and install a few tools that help your system download Docker safely:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;sudo apt update
sudo apt install ca-certificates curl gnupg
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;✔ ca-certificates → secure downloads&lt;br&gt;
✔ curl → fetches Docker files&lt;br&gt;
✔ gnupg → verifies Docker packages&lt;/p&gt;

&lt;p&gt;🔹 Step 2: Add Docker’s Official GPG Key&lt;/p&gt;

&lt;p&gt;This key ensures the Docker packages you download are authentic and safe.&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;sudo install -m 0755 -d /etc/apt/keyrings
curl -fsSL https://download.docker.com/linux/ubuntu/gpg | sudo gpg --dearmor -o /etc/apt/keyrings/docker.gpg
sudo chmod a+r /etc/apt/keyrings/docker.gpg
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;Think of this as Docker’s official signature stamp 🔐&lt;/p&gt;

&lt;p&gt;🔹 Step 3: Add the Docker Repository&lt;/p&gt;

&lt;p&gt;Tell your system where to fetch Docker from — the official Docker source.&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;echo \
  "deb [arch=\"$(dpkg --print-architecture)\" signed-by=/etc/apt/keyrings/docker.gpg] https://download.docker.com/linux/ubuntu \
  "$(. /etc/os-release &amp;amp;&amp;amp; echo "$VERSION_CODENAME")" stable" | \
  sudo tee /etc/apt/sources.list.d/docker.list &amp;gt; /dev/null
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;Boom — your system is now connected to the real Docker repo 🌐✨&lt;/p&gt;

&lt;p&gt;🔹 Step 4: Install Docker&lt;/p&gt;

&lt;p&gt;The main event!&lt;br&gt;
This installs all important Docker components:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;sudo apt update
sudo apt install docker-ce docker-ce-cli containerd.io docker-buildx-plugin docker-compose-plugin
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;🎉 Docker is now officially installed on your machine.&lt;/p&gt;

&lt;p&gt;🐳 What That Big Command Actually Installs&lt;/p&gt;

&lt;p&gt;When you run that command, you’re not just installing “Docker”…&lt;br&gt;
You’re installing five tiny superheroes that work together to power the Docker ecosystem 🦸‍♂️🦸‍♀️&lt;/p&gt;

&lt;p&gt;🐳 1. docker-ce — The Heart&lt;/p&gt;

&lt;p&gt;The core engine running in the background, keeping containers alive.&lt;/p&gt;

&lt;p&gt;💬 2. docker-ce-cli — The Voice&lt;/p&gt;

&lt;p&gt;The docker command you use.&lt;br&gt;
You speak → the engine executes.&lt;/p&gt;

&lt;p&gt;⚙️ 3. containerd.io — The Worker&lt;/p&gt;

&lt;p&gt;Runs container processes.&lt;br&gt;
Docker gives instructions → containerd gets it done.&lt;/p&gt;

&lt;p&gt;🛠️ 4. docker-buildx-plugin — The Smart Builder&lt;/p&gt;

&lt;p&gt;Builds images faster, cleaner, and even for different platforms.&lt;br&gt;
(Like building ARM images on an Intel laptop ✨)&lt;/p&gt;

&lt;p&gt;🧩 5. docker-compose-plugin — The Team Manager&lt;/p&gt;

&lt;p&gt;Got multiple services (backend + DB + cache)?&lt;br&gt;
Compose runs them all together using a simple YAML file.&lt;/p&gt;

&lt;p&gt;🎉 Final Picture&lt;/p&gt;

&lt;p&gt;These five components together =&lt;br&gt;
Your machine becomes fully Docker-ready.&lt;br&gt;
You can build, run, manage, and connect containers effortlessly.&lt;/p&gt;

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