Docker Volume Location In WSL 2

If you are using Docker Desktop for Windows with WSL 2, you probably wondering where Docker stores volumes.

WSL 2 and Docker

If you are using Docker Desktop on Windows, it is highly recommended to start using Docker with WSL 2, as we discussed in the previous post.

By default Docker Desktop with WSL 2 stores images in the following location.

\\wsl$\docker-desktop-data\version-pack-data\community\docker\volumes\data

You can see the location in the screenshot below as well.

If you would like to see all your WSL 2 distributions on disk, use the following location.

\\wsl$

Leave a comment

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.