Docker Community Forums

Share and learn in the Docker community.

Unable to run docker images due to read-only file system on WIndows

Hello,

I am trying to use some docker images and am unable to run them successfully. I am met with the same error every time I run a docker image or even docker system prune:

Error response from daemon: failed to prune build cache: write /var/lib/docker/buildkit/containerdmeta.db: read-only file system

Windows 10 Home Edition (v2004 build 19041)

Docker v20.10.6

I followed the Windows documentation on installing WSL2 and followed the Docker documentation to verify that the WSL2 integration was enabled.

Any help would be appreciated, thank you!