Hello Docker community,
I’m using Docker Desktop 4.95.0 on Windows with the WSL2 backend and the containerd image store enabled.
My Docker Desktop data disk is configured at a custom location:
D:\DockerData\DockerDesktopWSL\disk\docker_data.vhdx
What I’m trying to achieve
Before pulling an official PostgreSQL 16 image, I need a supported, read-only method to:
-
Identify the filesystem actively backing the containerd image store.
-
Measure the actual usable free space in bytes.
-
Verify that the filesystem is backed by the active
docker_data.vhdx. -
Avoid privileged containers, namespace switching, mount modifications, or Docker configuration changes.
What I’ve observed
The docker-desktop WSL distribution is running, but when executing a read-only diagnostic using:
wsl.exe --distribution docker-desktop --exec /bin/sh -s
I found:
-
/var— exists and is accessible. -
/var/lib— exists and is accessible. -
/var/lib/docker— absent. -
/var/lib/desktop-containerd— absent. -
/var/lib/desktop-containerd/daemon— not resolvable because its parent is absent.
The shell and PID 1 share the same observed mount namespace and root filesystem identity.
Historical Docker Desktop daemon logs refer to /var/lib/desktop-containerd/daemon, but that path is not visible from this WSL shell.
I understand that docker system df reports Docker object usage, not necessarily the available space of the underlying filesystem.
My questions
-
What is the officially supported read-only way to identify the active containerd image-store filesystem in Docker Desktop 4.95.0 using WSL2?
-
How can I confirm that this active filesystem is backed by the configured
docker_data.vhdx? -
Is there a Docker Desktop UI, CLI command, API, or supported diagnostic interface that reports the actual usable free space of the image store?
-
If direct filesystem access is unsupported, what storage-capacity verification method does Docker recommend before pulling an image?
I’m not trying to relocate or repair Docker storage. I only need to safely verify available capacity and confirm the active storage backing.
Any guidance or links to official documentation would be greatly appreciated.
Thank you!