# Docker installation directory

**URL:** <https://forums.docker.com/t/docker-installation-directory/32773>\
**Category:** Docker Desktop\
**Tags:** windows\
**Created:** [May 25, 2017, 8:35pm UTC](https://forums.docker.com/t/docker-installation-directory/32773 "2017-05-25T20:35:01Z")\
**Posts on this page:** 1\
**Showing post:** 24

<div class="post-metadata">

**Author:** ![rexbarker2017](https://avatars.discourse-cdn.com/v4/letter/r/3be4f8/32.png) [@rexbarker2017](https://forums.docker.com/u/rexbarker2017)\
**Post date:** [February 9, 2024, 10:29am UTC](https://forums.docker.com/t/docker-installation-directory/32773/24 "2024-02-09T10:29:37Z")

</div>

Worked for me. For my installation, I set it up as follows:

- Main installation `D:\Docker`
- WSL: `D:\Docker\WSL`
- Windows Containers: `D:\Docker\WindowsContainers`

Using powershell with Admin privileges, I used the following command:

```auto
 Start-Process -Wait -FilePath ".\Docker Desktop Installer.exe" -ArgumentList "install -accept-license --installation-dir=D:\Docker --wsl-default-data-root=D:\Docker\WSL --windows-containers-default-data-root=D:\\Docker\\WindowsContainers"

```

(Note: the double backslashes are required to specify the Windows container location)

---

_[View the full topic](https://forums.docker.com/t/docker-installation-directory/32773)._
