<?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: Dev888 AUGUST</title>
    <description>The latest articles on DEV Community by Dev888 AUGUST (@dev888_august_bfb28f16737).</description>
    <link>https://dev.to/dev888_august_bfb28f16737</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%2F3491490%2Fd87bb55a-b886-4e2c-b3cb-18cd383da3b0.png</url>
      <title>DEV Community: Dev888 AUGUST</title>
      <link>https://dev.to/dev888_august_bfb28f16737</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/dev888_august_bfb28f16737"/>
    <language>en</language>
    <item>
      <title>Managing Docker Containers: docker ps, stop and remove 🐳</title>
      <dc:creator>Dev888 AUGUST</dc:creator>
      <pubDate>Wed, 17 Sep 2025 11:31:11 +0000</pubDate>
      <link>https://dev.to/dev888_august_bfb28f16737/managing-docker-containers-docker-ps-stop-and-remove-3iok</link>
      <guid>https://dev.to/dev888_august_bfb28f16737/managing-docker-containers-docker-ps-stop-and-remove-3iok</guid>
      <description>&lt;p&gt;In the last post, we ran our very first container with &lt;code&gt;docker run hello-world&lt;/code&gt;.&lt;br&gt;&lt;br&gt;
But how do we see which containers are running? And how do we manage them?&lt;/p&gt;

&lt;p&gt;That’s where &lt;code&gt;docker ps&lt;/code&gt; comes in.&lt;/p&gt;


&lt;h2&gt;
  
  
  👀 List containers with &lt;code&gt;docker ps&lt;/code&gt;
&lt;/h2&gt;

&lt;p&gt;Run:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight shell"&gt;&lt;code&gt;docker ps
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;

&lt;p&gt;&lt;br&gt;
`&lt;/p&gt;

&lt;p&gt;This shows all &lt;strong&gt;running containers&lt;/strong&gt;.&lt;br&gt;
You’ll see columns like:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;CONTAINER ID&lt;/strong&gt; → unique ID for the container&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;IMAGE&lt;/strong&gt; → which image it came from&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;STATUS&lt;/strong&gt; → running time&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;PORTS&lt;/strong&gt; → which ports are exposed&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;NAMES&lt;/strong&gt; → an auto-generated (or custom) name&lt;/li&gt;
&lt;/ul&gt;




&lt;h2&gt;
  
  
  📜 Show all containers (including stopped)
&lt;/h2&gt;

&lt;p&gt;By default, &lt;code&gt;docker ps&lt;/code&gt; only shows &lt;em&gt;running&lt;/em&gt; containers.&lt;br&gt;
To see &lt;em&gt;all&lt;/em&gt;, use:&lt;/p&gt;

&lt;p&gt;&lt;code&gt;&lt;/code&gt;&lt;code&gt;bash&lt;br&gt;
docker ps -a&lt;br&gt;
&lt;/code&gt;&lt;code&gt;&lt;/code&gt;&lt;/p&gt;

&lt;p&gt;This will list containers that have already exited too.&lt;/p&gt;




&lt;h2&gt;
  
  
  🛑 Stop a container
&lt;/h2&gt;

&lt;p&gt;If you want to stop a running container:&lt;/p&gt;

&lt;p&gt;&lt;code&gt;&lt;/code&gt;&lt;code&gt;bash&lt;br&gt;
docker stop &amp;lt;container_id_or_name&amp;gt;&lt;br&gt;
&lt;/code&gt;&lt;code&gt;&lt;/code&gt;&lt;/p&gt;

&lt;p&gt;Example:&lt;/p&gt;

&lt;p&gt;&lt;code&gt;&lt;/code&gt;&lt;code&gt;bash&lt;br&gt;
docker stop funny_panda&lt;br&gt;
&lt;/code&gt;&lt;code&gt;&lt;/code&gt;&lt;/p&gt;




&lt;h2&gt;
  
  
  ❌ Remove a container
&lt;/h2&gt;

&lt;p&gt;Stopped containers still take up space.&lt;br&gt;
To remove them:&lt;/p&gt;

&lt;p&gt;&lt;code&gt;&lt;/code&gt;&lt;code&gt;bash&lt;br&gt;
docker rm &amp;lt;container_id_or_name&amp;gt;&lt;br&gt;
&lt;/code&gt;&lt;code&gt;&lt;/code&gt;&lt;/p&gt;

&lt;p&gt;Example:&lt;/p&gt;

&lt;p&gt;&lt;code&gt;&lt;/code&gt;&lt;code&gt;bash&lt;br&gt;
docker rm funny_panda&lt;br&gt;
&lt;/code&gt;&lt;code&gt;&lt;/code&gt;&lt;/p&gt;




&lt;h2&gt;
  
  
  🧹 Clean up all stopped containers
&lt;/h2&gt;

&lt;p&gt;To remove &lt;em&gt;all&lt;/em&gt; stopped containers at once:&lt;/p&gt;

&lt;p&gt;&lt;code&gt;&lt;/code&gt;&lt;code&gt;bash&lt;br&gt;
docker container prune&lt;br&gt;
&lt;/code&gt;&lt;code&gt;&lt;/code&gt;&lt;/p&gt;

&lt;p&gt;Docker will ask for confirmation before deleting.&lt;/p&gt;




&lt;h2&gt;
  
  
  🚀 Summary
&lt;/h2&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;code&gt;docker ps&lt;/code&gt; → list running containers&lt;/li&gt;
&lt;li&gt;
&lt;code&gt;docker ps -a&lt;/code&gt; → list all containers (running + stopped)&lt;/li&gt;
&lt;li&gt;
&lt;code&gt;docker stop&lt;/code&gt; → stop a container&lt;/li&gt;
&lt;li&gt;
&lt;code&gt;docker rm&lt;/code&gt; → remove a container&lt;/li&gt;
&lt;li&gt;
&lt;code&gt;docker container prune&lt;/code&gt; → clean up everything stopped&lt;/li&gt;
&lt;/ul&gt;




&lt;p&gt;💡 Next: we’ll explore &lt;strong&gt;Docker Images&lt;/strong&gt; — how to list, pull, and remove them.&lt;/p&gt;

&lt;p&gt;Follow me on Threads/Instagram for more Docker explained simply 🐳&lt;/p&gt;

&lt;p&gt;&lt;code&gt;&lt;/code&gt;`&lt;/p&gt;

</description>
    </item>
    <item>
      <title>Docker Basics: Image vs Container 🐳</title>
      <dc:creator>Dev888 AUGUST</dc:creator>
      <pubDate>Thu, 11 Sep 2025 11:16:06 +0000</pubDate>
      <link>https://dev.to/dev888_august_bfb28f16737/docker-basics-image-vs-container-3i87</link>
      <guid>https://dev.to/dev888_august_bfb28f16737/docker-basics-image-vs-container-3i87</guid>
      <description>&lt;p&gt;Docker Basics: Image vs Container 🐳&lt;/p&gt;

&lt;p&gt;When you start learning Docker, one of the first confusions is:&lt;br&gt;&lt;br&gt;
&lt;strong&gt;what is the difference between an Image and a Container?&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;Let’s break it down with a simple analogy.  &lt;/p&gt;


&lt;h2&gt;
  
  
  📖 Image = Recipe
&lt;/h2&gt;

&lt;p&gt;Think of an &lt;strong&gt;image&lt;/strong&gt; as a recipe.  &lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;It tells you &lt;em&gt;what ingredients you need&lt;/em&gt; and &lt;em&gt;how to cook them&lt;/em&gt;.
&lt;/li&gt;
&lt;li&gt;It defines everything your app needs: code, dependencies, environment.
&lt;/li&gt;
&lt;li&gt;But on its own, you can’t use it.
&lt;/li&gt;
&lt;li&gt;A recipe is not food — just like an image is not a running app.
&lt;/li&gt;
&lt;/ul&gt;


&lt;h2&gt;
  
  
  🍝 Container = Dish
&lt;/h2&gt;

&lt;p&gt;Now imagine actually cooking the recipe.  &lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;The &lt;strong&gt;container&lt;/strong&gt; is the dish prepared from the recipe.
&lt;/li&gt;
&lt;li&gt;It’s real, it exists, you can eat it (or run it).
&lt;/li&gt;
&lt;li&gt;That’s your app actually running, isolated from the rest of your system.
&lt;/li&gt;
&lt;/ul&gt;


&lt;h2&gt;
  
  
  👉 One Recipe → Many Dishes
&lt;/h2&gt;

&lt;p&gt;The beauty of Docker is that:  &lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;You can take &lt;strong&gt;one image&lt;/strong&gt; (recipe).
&lt;/li&gt;
&lt;li&gt;And create &lt;strong&gt;many containers&lt;/strong&gt; (dishes).
&lt;/li&gt;
&lt;li&gt;Each container runs independently, even if they come from the same image.
&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;Example:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight shell"&gt;&lt;code&gt;docker run nginx:latest
docker run nginx:latest
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;Here you just launched two containers from the same image (nginx).&lt;/p&gt;

&lt;p&gt;🚀 Why it matters&lt;/p&gt;

&lt;p&gt;Images are blueprints.&lt;/p&gt;

&lt;p&gt;Containers are the actual running apps.&lt;/p&gt;

&lt;p&gt;This distinction helps you understand how Docker scales apps and why you can run multiple containers from the same image.&lt;/p&gt;

&lt;blockquote&gt;
&lt;p&gt;💡 Next step: let’s actually run our first container with:&lt;/p&gt;
&lt;/blockquote&gt;

&lt;p&gt;docker run hello-world&lt;/p&gt;

&lt;p&gt;Follow me on &lt;a href="https://www.threads.com/@dev888_" rel="noopener noreferrer"&gt;https://www.threads.com/@dev888_&lt;/a&gt; for daily Docker explained simply 🐳&lt;/p&gt;

</description>
    </item>
    <item>
      <title>What is Docker? Explained Simply 🐳</title>
      <dc:creator>Dev888 AUGUST</dc:creator>
      <pubDate>Wed, 10 Sep 2025 07:14:35 +0000</pubDate>
      <link>https://dev.to/dev888_august_bfb28f16737/what-is-docker-explained-simply-15g1</link>
      <guid>https://dev.to/dev888_august_bfb28f16737/what-is-docker-explained-simply-15g1</guid>
      <description>&lt;p&gt;Have you ever struggled installing Node, Postgres, or Redis on every new machine?&lt;br&gt;&lt;br&gt;
Docker solves this problem by putting everything inside a &lt;strong&gt;magic box&lt;/strong&gt;.&lt;/p&gt;




&lt;h2&gt;
  
  
  🐳 What is Docker?
&lt;/h2&gt;

&lt;p&gt;Docker is a platform that lets you &lt;strong&gt;package your app and its dependencies&lt;/strong&gt; into something called a &lt;strong&gt;container&lt;/strong&gt;.&lt;br&gt;&lt;br&gt;
This container runs the same way on your laptop, your teammate’s computer, or a cloud server.&lt;/p&gt;




&lt;h2&gt;
  
  
  📦 Image vs Container (simple analogy)
&lt;/h2&gt;

&lt;ul&gt;
&lt;li&gt;&lt;p&gt;&lt;strong&gt;Image = recipe 📖&lt;/strong&gt;&lt;br&gt;&lt;br&gt;
Instructions of what to build and how.  &lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;&lt;strong&gt;Container = dish 🍝&lt;/strong&gt;&lt;br&gt;&lt;br&gt;
The actual running instance of your app.  &lt;/p&gt;&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;👉 One image (recipe) can create many containers (dishes).  &lt;/p&gt;




&lt;h2&gt;
  
  
  ❌ Without Docker
&lt;/h2&gt;

&lt;ul&gt;
&lt;li&gt;Install Node, Postgres, Redis…
&lt;/li&gt;
&lt;li&gt;Handle versions, configs, environments.
&lt;/li&gt;
&lt;li&gt;On a new machine → repeat everything.&lt;/li&gt;
&lt;/ul&gt;

&lt;h2&gt;
  
  
  ✅ With Docker
&lt;/h2&gt;

&lt;ul&gt;
&lt;li&gt;One command to build an image.
&lt;/li&gt;
&lt;li&gt;Run it as a container anywhere.
&lt;/li&gt;
&lt;li&gt;Your app works the same everywhere.
&lt;/li&gt;
&lt;/ul&gt;




&lt;h2&gt;
  
  
  🚀 Why it matters
&lt;/h2&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;Consistency&lt;/strong&gt;: “Works on my machine” disappears.
&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Portability&lt;/strong&gt;: move apps between laptops, servers, or clouds easily.
&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Speed&lt;/strong&gt;: no more long setup steps.
&lt;/li&gt;
&lt;/ul&gt;




&lt;p&gt;💡 Next: we’ll dive into the difference between an &lt;strong&gt;image and a container&lt;/strong&gt; in detail.&lt;br&gt;&lt;br&gt;
Follow me on Threads/Instagram for daily Docker explained simply.&lt;/p&gt;

</description>
      <category>webdev</category>
      <category>programming</category>
      <category>javascript</category>
      <category>ai</category>
    </item>
  </channel>
</rss>
