# Installment path

**URL:** <https://forums.docker.com/t/installment-path/150006>\
**Category:** General\
**Tags:** docker, windows\
**Created:** [October 5, 2025, 10:25pm UTC](https://forums.docker.com/t/installment-path/150006 "2025-10-05T22:25:42Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![hualala001](https://sea3.discourse-cdn.com/docker/user_avatar/forums.docker.com/hualala001/32/58768_2.png) [@hualala001](https://forums.docker.com/u/hualala001)\
**Post date:** [October 5, 2025, 10:25pm UTC](https://forums.docker.com/t/installment-path/150006/1 "2025-10-05T22:25:42Z")

</div>

My C disk is going to be out of space, I want to install the whole docker things into my E disk. But the installment exe. set the default path to C disk. What should I do to change the installment path?

---

<div class="post-metadata">

**Author:** ![rimelek](https://sea3.discourse-cdn.com/docker/user_avatar/forums.docker.com/rimelek/32/41602_2.png) [@rimelek](https://forums.docker.com/u/rimelek)\
**Post date:** [October 6, 2025, 5:45am UTC](https://forums.docker.com/t/installment-path/150006/2 "2025-10-06T05:45:20Z")

</div>

You can find the command line installation method in the documentation

[https://docs.docker.com/desktop/setup/install/windows-install/#installation-behavior](https://docs.docker.com/desktop/setup/install/windows-install/#installation-behavior)

> - `--installation-dir=<path>`: Changes the default installation location (`C:\Program Files\Docker\Docker`)

But the virtual data disk will be bigger than Docker Desktop itself, so don’t forget about the data root either

> ##### [Data root and disk location](https://docs.docker.com/desktop/setup/install/windows-install/#data-root-and-disk-location)
> 
> - `--hyper-v-default-data-root=<path>`: Specifies the default location for the Hyper-V VM disk.
> - `--windows-containers-default-data-root=<path>`: Specifies the default location for the Windows containers.
> - `--wsl-default-data-root=<path>`: Specifies the default location for the WSL distribution disk.

---

<div class="post-metadata">

**Author:** ![hualala001](https://sea3.discourse-cdn.com/docker/user_avatar/forums.docker.com/hualala001/32/58768_2.png) [@hualala001](https://forums.docker.com/u/hualala001)\
**Post date:** [October 7, 2025, 10:56pm UTC](https://forums.docker.com/t/installment-path/150006/3 "2025-10-07T22:56:10Z")

</div>

Thank you for reply, I have tried this method. However, somehow the installment failed with powershell.

 ![屏幕截图 2025-10-07 185311](https://global.discourse-cdn.com/docker/original/3X/c/4/c42a16626d8e3d12969e1ef9db98331d9166063b.png)

---

<div class="post-metadata">

**Author:** ![bluepuma77](https://sea3.discourse-cdn.com/docker/user_avatar/forums.docker.com/bluepuma77/32/32688_2.png) [@bluepuma77](https://forums.docker.com/u/bluepuma77)\
**Post date:** [October 8, 2025, 6:09am UTC](https://forums.docker.com/t/installment-path/150006/4 "2025-10-08T06:09:37Z")

</div>

> [@rimelek](#):
>
> `<path>`

is a substitute for your path, do not enter `<>`.

---

<div class="post-metadata">

**Author:** ![system](https://global.discourse-cdn.com/docker/original/3X/d/4/d4fbccd46c81bfcffe9822e20e17736d946fa821.png) [@system](https://forums.docker.com/u/system)\
**Post date:** [November 7, 2025, 6:09am UTC](https://forums.docker.com/t/installment-path/150006/5 "2025-11-07T06:09:44Z")

</div>

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.
