# How do you install Discourse using Windows 10 Docker Desktop?

**URL:** https://meta.discourse.org/t/how-do-you-install-discourse-using-windows-10-docker-desktop/226507
**Category:** Self-hosting
**Created:** [May 9, 2022, 7:52am UTC](https://meta.discourse.org/t/how-do-you-install-discourse-using-windows-10-docker-desktop/226507 "2022-05-09T07:52:54Z")
**Posts on this page:** 6
**Page:** 1

<div class="post-metadata">

### Author: ![Nixxxxxx](https://avatars.discourse-cdn.com/v4/letter/n/5fc32e/32.png) [@Nixxxxxx](https://meta.discourse.org/u/Nixxxxxx)
#### Post date: [May 9, 2022, 7:52am UTC](https://meta.discourse.org/t/how-do-you-install-discourse-using-windows-10-docker-desktop/226507/1 "2022-05-09T07:52:54Z")

</div>

I’ve went the step of using WSL and downloaded Ubuntu 20.04.4 LTS.  
Then going through the  
-[discourse/docs/INSTALL-cloud.md at main · discourse/discourse · GitHub](https://github.com/discourse/discourse/blob/main/docs/INSTALL-cloud.md)  
setup, I get hit with an alert that I should use

> WSL DETECTED: We recommend using Docker Desktop for Windows.  
> Please get Docker Desktop from [https://www.docker.com/products/docker-desktop](https://www.docker.com/products/docker-desktop)

Thing being; I do have Docker Desktop installed. But I do not see a tutorial that would install a production environment of Discourse. I don’t want my emails captured and I’m already running Discourse on a [free Oracle instance](https://meta.discourse.org/t/install-discourse-on-free-oracle-plan/215749), email all setup, know how to use app.yml to install plugins.  
In which I want to transfer from that **asap** due to how slow it takes to build and would like a better experience than my forum freezing when just clicking on backup.

How am I supposed to install Discourse to a container with Docker Desktop on Windows 10? Do I just ignore this WSL warning and continue?

I’m confused if I should use  
**bitnami/discourse** \>[bitnami/discourse - Docker Image](https://hub.docker.com/r/bitnami/discourse)

because trying to use discourse/base\>[discourse/base - Docker Image](https://hub.docker.com/r/discourse/base)  
_docker pull discourse/base_  
results with a

> PS C:\Users\localuser\> docker pull discourse/base  
> Using default tag: latest  
> Error response from daemon: manifest for discourse/base:latest not found: manifest unknown: manifest unknown

tl;dr, what instructions of setup should I use for production using Docker Desktop on Windows 10 21h1?

---

<div class="post-metadata">

### Author: ![merefield](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/merefield/32/176214_2.png) [@merefield](https://meta.discourse.org/u/merefield)
#### Post date: [May 9, 2022, 8:35am UTC](https://meta.discourse.org/t/how-do-you-install-discourse-using-windows-10-docker-desktop/226507/2 "2022-05-09T08:35:30Z")

</div>

> [@Install Discourse for development using Docker](https://meta.discourse.org/t/beginners-guide-to-install-discourse-for-development-using-docker/102009):
>
> Developing using Docker Since Discourse runs in Docker, you should be able to run Discourse directly from your source directory using a Discourse development container. white_check_mark Pros: No need to install any system dependencies, no configuration needed at all for setting up a development environment quickly. x Cons: Will be slightly slower than the native dev environment on Ubuntu, and much slower than a native install on MacOS. See also [Developing Discourse using a Dev Container](https://meta.discourse.org/t/developing-discourse-using-a-dev-container/336366) …

---

<div class="post-metadata">

### Author: ![pfaffman](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/pfaffman/32/120154_2.png) [@pfaffman](https://meta.discourse.org/u/pfaffman)
#### Post date: [May 9, 2022, 9:49am UTC](https://meta.discourse.org/t/how-do-you-install-discourse-using-windows-10-docker-desktop/226507/3 "2022-05-09T09:49:17Z")

</div>

> [@Nixxxxxx](#):
>
> I do not see a tutorial that would install a production environment of Discourse

If your want a production environment you need to use Ubuntu (or some Linux at least). Production on windows is not supported.

---

<div class="post-metadata">

### Author: ![Canapin](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/canapin/32/119591_2.png) [@Canapin](https://meta.discourse.org/u/Canapin)
#### Post date: [May 9, 2022, 10:53am UTC](https://meta.discourse.org/t/how-do-you-install-discourse-using-windows-10-docker-desktop/226507/4 "2022-05-09T10:53:10Z")

</div>

What’s your purpose? Have a forum that you can access outside your computer, or just trying stuff on a local installation?

I experiment daily on a “production” forum on Ubuntu via WSL on Windows 10. The forum is not accessible from the internet, I only use it locally. I just configured some files in windows so I can access the forum through my Windows browser.

 ![image](https://global.discourse-cdn.com/meta/original/4X/3/8/a/38a6579ac3e03c86ffc34c66ce9fb85042462446.png)

---

<div class="post-metadata">

### Author: ![Nixxxxxx](https://avatars.discourse-cdn.com/v4/letter/n/5fc32e/32.png) [@Nixxxxxx](https://meta.discourse.org/u/Nixxxxxx)
#### Post date: [May 9, 2022, 3:36pm UTC](https://meta.discourse.org/t/how-do-you-install-discourse-using-windows-10-docker-desktop/226507/5 "2022-05-09T15:36:55Z")

</div>

> [@Canapin](#):
>
> What’s your purpose? Have a forum that you can access outside your computer, or just trying stuff on a local installation?

Just wanting to run the discourse site without development mode settings on my local machine. Just trying to see if there’s instructions for how to setup using docker desktop as the alert told me when setting up WSL Ubuntu 24.04.4 with the cloud install instructions.

I plan to just use Cloudflare tunnel and enable the template in app.yml.

Is it better to use docker desktop or do I just ignore the warning and wait the +sleep 20, and install on WSL anyway?

---

<div class="post-metadata">

### Author: ![Canapin](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/canapin/32/119591_2.png) [@Canapin](https://meta.discourse.org/u/Canapin)
#### Post date: [May 9, 2022, 3:49pm UTC](https://meta.discourse.org/t/how-do-you-install-discourse-using-windows-10-docker-desktop/226507/6 "2022-05-09T15:49:11Z")

</div>

For my configuration, where the forum **isn’t accessible from the Internet** , but **is from my own computer** ), I ignored the warning.

However, I needed a domain name to be resolved from my Windows browser, so I needed to do these steps:

1. Redirect an arbitrary domain name (`d.com` here) to my machine by editing `c:/windows/system32/drivers/etc/hosts`. I added these lines:

2. Create a new file: `C:\Users\yourWindowsUserName\.wslconfig` and write this inside:

3. Reboot WSL:  
`wsl --shutdown` (Powershell)  
Or  
`wsl.exe --shutdown` (Ubuntu)

4. In Ubuntu, start Docker (it doesn’t start automatically):  
`service docker start`

5. Comment the SSL lines in `/var/discourse/container/app.yml` such as:

6. Rebuild
