I installed docker-desktop for windows 10 from https://www.docker.com/products/docker-desktop, and I enabled the docker daemon for Linux container. I have my own wsl2 distro called ubuntu, and I enabled the docker-desktop integration with distro ubuntu, and built an image in it. But I cannot figure out where the image is saved. I did some search and found people saying it is in \\wsl$\docker-desktop-data\mnt\wsl\docker-desktop-data\data\docker
. I did find this folder, but the whole folder is only a few hundred MB, and my image is several GB. I only find metadata in the folder but not the real image. Someone point out that I can find path to image in docker resources configuration tab, but mine does not show where the docker image is...
Any one has found the image in similar situation?
UPDATE the volumes are created in the folder: \\wsl$\docker-desktop-data\mnt\wsl\docker-desktop-data\version-pack-data\community\docker\volumes
As per this answer, the Docker VM is stored in the file %USERPROFILE%\AppData\Local\Docker\wsl\data\ext4.vhdx
.
This might not be what you're looking for, but I found this thread when looking for the linked one, so this answer might help some other people.
When using WSL integration, docker create two distros
You can access it by
\\wsl$\docker-desktop \\wsl$\docker-desktop-data
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With