Docker installation directory

you can force Docker Desktop to install on a different drive by running the official installer with command-line flags.

  1. Download the Docker Desktop Installer.exe from the official Docker website.
  2. Open Command Prompt (cmd.exe) as an administrator.
  3. Navigate to your downloads folder by running:cd %USERPROFILE%\Downloads
  4. Run the following command to start the silent installation and specify your D: drive as the location:start /wait "" "Docker Desktop Installer.exe" install --quiet --installation-dir="D:\D