<?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: Eslam Basyouni</title>
    <description>The latest articles on DEV Community by Eslam Basyouni (@eslam-basyouni).</description>
    <link>https://dev.to/eslam-basyouni</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%2F1107780%2F02dcdcd1-24ac-44a3-9fe3-06a300d194b4.jpg</url>
      <title>DEV Community: Eslam Basyouni</title>
      <link>https://dev.to/eslam-basyouni</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/eslam-basyouni"/>
    <language>en</language>
    <item>
      <title>How to get rid of the hidden wasted space in Docker Desktop</title>
      <dc:creator>Eslam Basyouni</dc:creator>
      <pubDate>Sat, 05 Aug 2023 22:39:31 +0000</pubDate>
      <link>https://dev.to/eslam-basyouni/how-to-get-rid-of-the-hidden-wasted-space-in-docker-desktop-5e0e</link>
      <guid>https://dev.to/eslam-basyouni/how-to-get-rid-of-the-hidden-wasted-space-in-docker-desktop-5e0e</guid>
      <description>&lt;p&gt;Everyone of us that using Docker Desktop for his containers application or for fast testing by createing a lot of containers and then remove it and same for images, and we think when delete them that we saved spaces, but the bad news that we didn't .&lt;/p&gt;

&lt;p&gt;Docker Desktop for Windows uses WSL to manage the images and containers files and keeps them in a thin private virtual hard drive called ext4.vhdx.&lt;br&gt;
we can find this file in path :&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;       C:\Users\Eslam\AppData\Local\Docker\wsl\data
  *** Replace my user Eslam with your user profile name ***
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;

&lt;p&gt;This file will grow and will became big more and more , regardless if we delete all of our images and containers or not, so let's follow the below commands to shrink it.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://res.cloudinary.com/practicaldev/image/fetch/s--Kbh1jHGN--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_800/https://dev-to-uploads.s3.amazonaws.com/uploads/articles/s1sp6xljluz5ihciwmse.png" class="article-body-image-wrapper"&gt;&lt;img src="https://res.cloudinary.com/practicaldev/image/fetch/s--Kbh1jHGN--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_800/https://dev-to-uploads.s3.amazonaws.com/uploads/articles/s1sp6xljluz5ihciwmse.png" alt="E1" width="800" height="427"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&lt;a href="https://res.cloudinary.com/practicaldev/image/fetch/s--15dZrpVU--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_800/https://dev-to-uploads.s3.amazonaws.com/uploads/articles/1vt1mkhz2mznpxqs30pt.png" class="article-body-image-wrapper"&gt;&lt;img src="https://res.cloudinary.com/practicaldev/image/fetch/s--15dZrpVU--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_800/https://dev-to-uploads.s3.amazonaws.com/uploads/articles/1vt1mkhz2mznpxqs30pt.png" alt="E2" width="800" height="458"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&lt;a href="https://res.cloudinary.com/practicaldev/image/fetch/s--rimbj5dm--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_800/https://dev-to-uploads.s3.amazonaws.com/uploads/articles/khltmp9kz1hnjlk06ogt.png" class="article-body-image-wrapper"&gt;&lt;img src="https://res.cloudinary.com/practicaldev/image/fetch/s--rimbj5dm--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_800/https://dev-to-uploads.s3.amazonaws.com/uploads/articles/khltmp9kz1hnjlk06ogt.png" alt="E3" width="800" height="458"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&lt;a href="https://res.cloudinary.com/practicaldev/image/fetch/s--klp47Jjo--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_800/https://dev-to-uploads.s3.amazonaws.com/uploads/articles/uafd92fd45k6ct2gix9r.png" class="article-body-image-wrapper"&gt;&lt;img src="https://res.cloudinary.com/practicaldev/image/fetch/s--klp47Jjo--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_800/https://dev-to-uploads.s3.amazonaws.com/uploads/articles/uafd92fd45k6ct2gix9r.png" alt="E4" width="800" height="458"&gt;&lt;/a&gt;&lt;br&gt;
For who is not using Windows Pro Edition and optimize-vhd command  not work with him , you can try running these commands instead:&lt;/p&gt;

&lt;p&gt;&lt;a href="https://res.cloudinary.com/practicaldev/image/fetch/s--DeT81dnl--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_800/https://dev-to-uploads.s3.amazonaws.com/uploads/articles/thbgnmp56k5b6f82tasv.png" class="article-body-image-wrapper"&gt;&lt;img src="https://res.cloudinary.com/practicaldev/image/fetch/s--DeT81dnl--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_800/https://dev-to-uploads.s3.amazonaws.com/uploads/articles/thbgnmp56k5b6f82tasv.png" alt="E5" width="800" height="520"&gt;&lt;/a&gt;&lt;br&gt;
******** You can Copy All of the used commands from GitHub ******* &lt;br&gt;
--&amp;gt;&amp;gt;[&lt;a href="https://github.com/Eslam-Basyouni/DevOps-Tips-Tricks-Scripts"&gt;https://github.com/Eslam-Basyouni/DevOps-Tips-Tricks-Scripts&lt;/a&gt;]&amp;lt;&amp;lt;--&lt;/p&gt;

</description>
    </item>
  </channel>
</rss>
