<?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/"
             xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
             xmlns:admin="http://webns.net/mvcb/"
             xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
             xmlns:content="http://purl.org/rss/1.0/modules/content/">
        <channel>
            <title>
									Docker Desktop Taking Up Too Much Disk Space? Here&#039;s How I Reclaimed Over 200 GB - Kubernetes and Containers				            </title>
            <link>https://www.virtualizationhowto.com/community/kubernetes-and-containers/docker-desktop-taking-up-too-much-disk-space-heres-how-i-reclaimed-over-200-gb/</link>
            <description>Virtualization Howto Discussion Board</description>
            <language>en-US</language>
            <lastBuildDate>Mon, 14 Sep 2026 03:12:07 +0000</lastBuildDate>
            <generator>wpForo</generator>
            <ttl>60</ttl>
							                    <item>
                        <title>Docker Desktop Taking Up Too Much Disk Space? Here&#039;s How I Reclaimed Over 200 GB</title>
                        <link>https://www.virtualizationhowto.com/community/kubernetes-and-containers/docker-desktop-taking-up-too-much-disk-space-heres-how-i-reclaimed-over-200-gb/#post-1596</link>
                        <pubDate>Thu, 30 Jul 2026 01:50:50 +0000</pubDate>
                        <description><![CDATA[I recently noticed that I had a LOT of disk space use with Docker Desktop on my Windows 11 machine. I did the normal things that I do on Linux like running the prune command to kill basicall...]]></description>
                        <content:encoded><![CDATA[<p>I recently noticed that I had a LOT of disk space use with Docker Desktop on my Windows 11 machine. I did the normal things that I do on Linux like running the prune command to kill basically everything that isn't used:</p>
<pre contenteditable="false">docker system prune -a -f</pre>
<p>But I still had a lot of disk space used. Pulling out the trusty WinDirStat tool that I have loaded, I started looking at the <strong>Largest Files</strong> on my machine and found that my <strong>docker_data.vhdx</strong> file was around <span style="color: #ff0000"><strong>261 GB</strong></span>! </p>
946
<p>Even after clearing up old images, the VHDX was still large. So we can use <strong>diskpart</strong> to compact the VHDX like this. First shutdown WSL and see if you have anything else running:</p>
<pre contenteditable="false">wsl --shutdown
wsl --list --running</pre>
<p>Now, we use diskpart to shrink the VHDX. Launch diskpart:</p>
<pre contenteditable="false">diskpart</pre>
<p>Then run the following commands, replacing the vdisk file path with the file path for your machine:</p>
<pre contenteditable="false">select vdisk file="C:\Users\localadmin\AppData\Local\Docker\wsl\disk\docker_data.vhdx"
attach vdisk readonly
compact vdisk
detach vdisk
exit</pre>
947
<p>Hopefully these simple steps helps someone else facing this same issue!</p>
<p>Brandon</p>]]></content:encoded>
						                            <category domain="https://www.virtualizationhowto.com/community/kubernetes-and-containers/">Kubernetes and Containers</category>                        <dc:creator>Brandon Lee</dc:creator>
                        <guid isPermaLink="true">https://www.virtualizationhowto.com/community/kubernetes-and-containers/docker-desktop-taking-up-too-much-disk-space-heres-how-i-reclaimed-over-200-gb/#post-1596</guid>
                    </item>
							        </channel>
        </rss>
		