# Docker installation on Windows

**URL:** https://forum.algorand.co/t/docker-installation-on-windows/3705
**Category:** General
**Created:** [July 7, 2021, 5:16am UTC](https://forum.algorand.co/t/docker-installation-on-windows/3705 "2021-07-07T05:16:41Z")
**Posts on this page:** 12
**Page:** 1

<div class="post-metadata">

### Author: ![sachit\_goyal](https://avatars.discourse-cdn.com/v4/letter/s/e274bd/32.png) [@sachit\_goyal](https://forum.algorand.co/u/sachit_goyal)
#### Post date: [July 7, 2021, 5:16am UTC](https://forum.algorand.co/t/docker-installation-on-windows/3705/1 "2021-07-07T05:16:41Z")

</div>

I am trying to get sandbox set up on Windows 10. I am following the instructions on the github Readme. When I do ./sandbox up in my git bash, I get the following error which I am unable to rectify.

 ![image](https://us1.discourse-cdn.com/flex016/uploads/algorand/original/2X/5/5159066358be36888b76ef188a5a29a33b5dbc24.png)

---

<div class="post-metadata">

### Author: ![fabrice](https://avatars.discourse-cdn.com/v4/letter/f/5fc32e/32.png) [@fabrice](https://forum.algorand.co/u/fabrice)
#### Post date: [July 7, 2021, 9:36pm UTC](https://forum.algorand.co/t/docker-installation-on-windows/3705/2 "2021-07-07T21:36:02Z")

</div>

Can you try with this [Fix issues on Windows 10 + MSYS 2 by fabrice102 · Pull Request #58 · algorand/sandbox · GitHub](https://github.com/algorand/sandbox/pull/58)

You can clone in a new folder:

```bash
git clone --branch windows10-pty-fixes https://github.com/fabrice102/sandbox.git

```

---

<div class="post-metadata">

### Author: ![sachit\_goyal](https://avatars.discourse-cdn.com/v4/letter/s/e274bd/32.png) [@sachit\_goyal](https://forum.algorand.co/u/sachit_goyal)
#### Post date: [July 8, 2021, 8:11am UTC](https://forum.algorand.co/t/docker-installation-on-windows/3705/3 "2021-07-08T08:11:07Z")

</div>

Hey fabrice,  
I tried using this branch and it still gave me the same error.

 ![cap2](https://us1.discourse-cdn.com/flex016/uploads/algorand/original/2X/0/01fbc93a4727ac401e5cf76785eb3a10f4f7a4ca.png)

---

<div class="post-metadata">

### Author: ![scholtz](https://sea2.discourse-cdn.com/flex016/user_avatar/forum.algorand.co/scholtz/32/864_2.png) [@scholtz](https://forum.algorand.co/u/scholtz)
#### Post date: [July 8, 2021, 11:06am UTC](https://forum.algorand.co/t/docker-installation-on-windows/3705/4 "2021-07-08T11:06:23Z")

</div>

why dont you just use WSL for example Ubuntu in virtual environment under windows?

btw, do you have windows pro or windows home?

---

<div class="post-metadata">

### Author: ![fabrice](https://avatars.discourse-cdn.com/v4/letter/f/5fc32e/32.png) [@fabrice](https://forum.algorand.co/u/fabrice)
#### Post date: [July 8, 2021, 1:33pm UTC](https://forum.algorand.co/t/docker-installation-on-windows/3705/5 "2021-07-08T13:33:43Z")

</div>

As @scholtz mentioned, if you can use WSL 2 with Ubuntu 20.04, it is usually simpler once you managed to install WSL 2 (which can be a bit difficult).

However, Git Bash / MSYS2 should work too.

What is your:

- Windows 10 version: [Which version of Windows operating system am I running?](https://support.microsoft.com/en-us/windows/which-version-of-windows-operating-system-am-i-running-628bec99-476a-2c13-5296-9dd081cdd808) should be 20H2 or later
- Docker version:
  - in Git bash: `docker version` should be 20.10.7 or later for Docker Engine.
  - in PowerShell: `Get-ItemProperty HKLM:\Software\Microsoft\Windows\CurrentVersion\Uninstall\* | select DisplayName,DisplayVersion | where {$_.DisplayName -like "Docker*"}` should be 3.5.1 or later

- Git for Windows version: `git version` - must be 2.32.0 or later

I have not tested with earlier version.  
I saw the issue you mentioned above with earlier versions.  
My guess is that your Docker is not up to date.

---

<div class="post-metadata">

### Author: ![sachit\_goyal](https://avatars.discourse-cdn.com/v4/letter/s/e274bd/32.png) [@sachit\_goyal](https://forum.algorand.co/u/sachit_goyal)
#### Post date: [July 8, 2021, 1:42pm UTC](https://forum.algorand.co/t/docker-installation-on-windows/3705/6 "2021-07-08T13:42:47Z")

</div>

I have Ubuntu 20.04. How should I proceed in that?

---

<div class="post-metadata">

### Author: ![fabrice](https://avatars.discourse-cdn.com/v4/letter/f/5fc32e/32.png) [@fabrice](https://forum.algorand.co/u/fabrice)
#### Post date: [July 8, 2021, 2:13pm UTC](https://forum.algorand.co/t/docker-installation-on-windows/3705/7 "2021-07-08T14:13:32Z")

</div>

Are you running Ubuntu 20.04 via WSL 2 on Windows?

Can you check by copy-pasting the output of the following (in triple backquotes ``` so that it looks nicer):

- `cat /etc/lsb-release`
- `bash --version`
- `uname -a`

---

<div class="post-metadata">

### Author: ![sachit\_goyal](https://avatars.discourse-cdn.com/v4/letter/s/e274bd/32.png) [@sachit\_goyal](https://forum.algorand.co/u/sachit_goyal)
#### Post date: [July 8, 2021, 2:28pm UTC](https://forum.algorand.co/t/docker-installation-on-windows/3705/8 "2021-07-08T14:28:03Z")

</div>

Yes, I am running it on WSL 2

---

<div class="post-metadata">

### Author: ![fabrice](https://avatars.discourse-cdn.com/v4/letter/f/5fc32e/32.png) [@fabrice](https://forum.algorand.co/u/fabrice)
#### Post date: [July 8, 2021, 2:30pm UTC](https://forum.algorand.co/t/docker-installation-on-windows/3705/9 "2021-07-08T14:30:50Z")

</div>

For us to help you, it would be very helpful for you to run the above commands.

From the screenshot you are showing, it looks like you may not be running on WSL 2.  
Indeed, I think I can see the text `MINGW64` at the bottom of your screenshot, which usually indicate the use of MSYS 2 / Git Bash, as opposed to WSL 2.

---

<div class="post-metadata">

### Author: ![sachit\_goyal](https://avatars.discourse-cdn.com/v4/letter/s/e274bd/32.png) [@sachit\_goyal](https://forum.algorand.co/u/sachit_goyal)
#### Post date: [July 8, 2021, 2:31pm UTC](https://forum.algorand.co/t/docker-installation-on-windows/3705/10 "2021-07-08T14:31:52Z")

</div>

Oh I was initially running those commands on the git bash but I have ubuntu installed as well. Should I open sandbox on that?

---

<div class="post-metadata">

### Author: ![fabrice](https://avatars.discourse-cdn.com/v4/letter/f/5fc32e/32.png) [@fabrice](https://forum.algorand.co/u/fabrice)
#### Post date: [July 8, 2021, 2:35pm UTC](https://forum.algorand.co/t/docker-installation-on-windows/3705/11 "2021-07-08T14:35:57Z")

</div>

It should work on Git Bash too, but only if you have the latest versions of the software as specified above.

Since you also have WSL 2, I would recommend you to try on Ubuntu 20.04 over WSL 2. This should work without any issue. You may just need to enable Docker in WSL 2 if you did not do it already.

---

<div class="post-metadata">

### Author: ![scholtz](https://sea2.discourse-cdn.com/flex016/user_avatar/forum.algorand.co/scholtz/32/864_2.png) [@scholtz](https://forum.algorand.co/u/scholtz)
#### Post date: [July 8, 2021, 2:41pm UTC](https://forum.algorand.co/t/docker-installation-on-windows/3705/12 "2021-07-08T14:41:38Z")

</div>

just do this:

```auto
cd /mnt/c
mkdir algo
cd algo
git clone https://github.com/algorand/sandbox.git
cd sandbox
./sandbox up
./sandbox goal account list

```

you can see the files directly from windows in c:/algo/sandbox
