Software⏱️ 2 min read📅 2026-06-03

How to Fix: How can I change the location of docker images when using Docker Desktop on WSL2 with Windows 10 Home?

Change Docker image location on Windows 10 Home with WSL2

Quick Answer: To change the Docker image location, edit the Docker configuration file located at C:\ProgramData\Docker\config.json. Look for the 'storage' section and update the 'rootdir' value to point to your desired directory.

To change the location of Docker images when using Docker Desktop on WSL2 with Windows 10 Home, you can use the `--storage-driver` option when creating a new container.

⚠️ Common Causes

  • WSL2 must be installed in your system disk, which is a small SSD.

✅ Best Solutions to Fix It

Method 1: Use a different storage driver

  1. Step 1: Open Docker Desktop and navigate to the storage driver settings.

Method 2: Use a custom storage directory

  1. Step 1: Create a new directory on your Windows filesystem, for example, `C:/docker-images.

🎯 Final Words

To change the location of Docker images when using Docker Desktop on WSL2 with Windows 10 Home, you can use either method 1 or method 2. Using a different storage driver or creating a custom storage directory will allow you to store your Docker images in a location other than the default WSL2 system disk.

Did this fix your problem?

If not, try searching for specific error codes.

🔍 Search Error Database

❓ Frequently Asked Questions