title: How can I change the location of docker images when using Docker Desktop on WSL2 with Windows 10 Home?
body: <p>I've just upgraded to Windows 10 Home May 2020, <a href="https://docs.microsoft.com/en-us/windows/wsl/install-win10" rel="noreferrer">activated WSL2</a>, and installed <a href="https://hub.docker.com/editions/community/docker-ce-desktop-windows" rel="noreferrer">Docker Desktop</a>.</p>
  <p>WSL2 must be installed in my system disk, which is a small SSD. I don't want to fill it with docker images. How do I change the docker images path? I'd like to use a path in my big Windows filesystem.</p>
  <p>The <a href="https://stackoverflow.com/questions/42250222/what-is-docker-image-location-on-windows-10/">image location</a> is somewhat confusing. I believe it is in <code>/mnt/wsl/docker-desktop-data/</code>.</p>
  <p>How do I change the directory of docker images inside WSL2? May I change docker configuration to select a path inside <code>/mnt/d</code>, or mount a path from /mnt/d over docker data dirs?</p>