# Installazione end to end di Discourse su Windows Server 2016

**URL:** https://meta.discourse.org/t/discourse-installation-end-to-end-on-windows-server-2016/95311
**Category:** Self-hosting
**Tags:** unsupported-install
**Created:** [21 Agosto 2018, 4:10pm UTC](https://meta.discourse.org/t/discourse-installation-end-to-end-on-windows-server-2016/95311 "2018-08-21T16:10:27Z")
**Posts on this page:** 10
**Page:** 1

<div class="post-metadata">

### Author: ![pkarun](https://avatars.discourse-cdn.com/v4/letter/p/a9adbd/32.png) [@pkarun](https://meta.discourse.org/u/pkarun)
#### Post date: [21 Agosto 2018, 4:10pm UTC](https://meta.discourse.org/t/discourse-installation-end-to-end-on-windows-server-2016/95311/1 "2018-08-21T16:10:27Z")

</div>

HI,  
I would like to know the steps involved in Discourse installation end to end on Windows Server 2016.

Thanks,  
Arun

---

<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: [21 Agosto 2018, 4:17pm UTC](https://meta.discourse.org/t/discourse-installation-end-to-end-on-windows-server-2016/95311/2 "2018-08-21T16:17:31Z")

</div>

You won’t find them here. If you want support here you must follow these instructions: [discourse/docs/INSTALL-cloud.md at main · discourse/discourse · GitHub](https://github.com/discourse/discourse/blob/master/docs/INSTALL-cloud.md).

---

<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: [21 Agosto 2018, 4:18pm UTC](https://meta.discourse.org/t/discourse-installation-end-to-end-on-windows-server-2016/95311/3 "2018-08-21T16:18:56Z")

</div>

Easy, switch the darn thing off and follow these instructions 😉

> [@pfaffman](#):
>
> You won’t find them here. If you want support here you must follow these instructions: [discourse/INSTALL-cloud.md at master · discourse/discourse · GitHub](https://github.com/discourse/discourse/blob/master/docs/INSTALL-cloud.md).

Seriously though, I understand you can get docker running on Windows within a Linux container … that sounds messy, but good luck!

You could always share the results of your adventure here when you’ve got it working?

---

<div class="post-metadata">

### Author: ![pkarun](https://avatars.discourse-cdn.com/v4/letter/p/a9adbd/32.png) [@pkarun](https://meta.discourse.org/u/pkarun)
#### Post date: [21 Agosto 2018, 4:32pm UTC](https://meta.discourse.org/t/discourse-installation-end-to-end-on-windows-server-2016/95311/4 "2018-08-21T16:32:53Z")

</div>

Thanks merefield and Jay. I was thinking the below route:

1. Provision Windows Server 2016(which has inbuilt Docker) in AWS or Azure.
2. Install Ubuntu Container image
3. Start the docker like below  
.\docker.exe run -it ubuntu
4. now install discourse in the linux shell  
[GitHub - discourse/discourse\_docker: A Docker image for Discourse · GitHub](https://github.com/discourse/discourse_docker)

Will the above work, are there any issues?  
If this works, this would be awesome in terms of easier deployment and scalability (single container to multi container).  
Let me know you thoughts!

---

<div class="post-metadata">

### Author: ![Falco](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/falco/32/179432_2.png) [@Falco](https://meta.discourse.org/u/Falco)
#### Post date: [21 Agosto 2018, 4:36pm UTC](https://meta.discourse.org/t/discourse-installation-end-to-end-on-windows-server-2016/95311/5 "2018-08-21T16:36:58Z")

</div>

> [@pkarun](#):
>
> Will the above work, are there any issues?

No, it won’t work. You can’t run docker inside docker.

Running production Discourse in Windows isn’t supported. Since you are using AWS/Azure just provision a Linux VM.

---

<div class="post-metadata">

### Author: ![pkarun](https://avatars.discourse-cdn.com/v4/letter/p/a9adbd/32.png) [@pkarun](https://meta.discourse.org/u/pkarun)
#### Post date: [21 Agosto 2018, 4:46pm UTC](https://meta.discourse.org/t/discourse-installation-end-to-end-on-windows-server-2016/95311/6 "2018-08-21T16:46:29Z")

</div>

Thanks Rafael for the reply. The problem being, currently my enterprise does not support Docker in Linux machines On-Prem or Cloud for security reasons. Trying to see the best work around in this scenario?

Now im left with the below options:

1. Is there any way that i can make the Discousre work on Windows server using Docker? OR
2. Just go with No Docker option, where I can provision a Linux machine and install all Rails, PostgreSQL, Redis, NGINX etc. Is this option good enough for production?
3. Any other options available?

Just saw this – [Run Linux containers on Windows | Ubuntu](https://tutorials.ubuntu.com/tutorial/tutorial-windows-ubuntu-hyperv-containers#0)

---

<div class="post-metadata">

### Author: ![Falco](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/falco/32/179432_2.png) [@Falco](https://meta.discourse.org/u/Falco)
#### Post date: [21 Agosto 2018, 4:57pm UTC](https://meta.discourse.org/t/discourse-installation-end-to-end-on-windows-server-2016/95311/7 "2018-08-21T16:57:04Z")

</div>

Let me preface this by saying Discourse is FOSS, you can do whatever you want. However, we limit our free support to only official installations that use our guide, which uses Linux + Docker.

> [@pkarun](#):
>
> - Is there any way that i can make the Discousre work on Windows server using Docker? OR

This may work, but it’s unsupported by us. Also the double virtualization (AWS Hypervisor, Windows virtualization for Docker) can be a big hit for performance. **Not recommended**.

> [@pkarun](#):
>
> Just go with No Docker option, where I can provision a Linux machine and install all Rails, PostgreSQL, Redis, NGINX etc. Is this option good enough for production?

This may work, but it’s unsupported by us. Getting correct versions of all the OS level dependencies and tracking updates to those will be time consuming, and can lead to subtle broken features. Also you will very soon be running deprecated and potentialy insecure versions of the software. **Not recommended**.

> [@pkarun](#):
>
> 1. Any other options available?

- Changing your enterprise policy and running a Linux server
- Buying our hosted Discourse service: [https://discourse.org/buy](https://discourse.org/buy)
- Using another forum software that complies with your requirements.

---

<div class="post-metadata">

### Author: ![pkarun](https://avatars.discourse-cdn.com/v4/letter/p/a9adbd/32.png) [@pkarun](https://meta.discourse.org/u/pkarun)
#### Post date: [21 Agosto 2018, 5:22pm UTC](https://meta.discourse.org/t/discourse-installation-end-to-end-on-windows-server-2016/95311/8 "2018-08-21T17:22:20Z")

</div>

Thanks for the detailed explanation Rafael.

- Changing your enterprise policy and running a Linux server  
----------Long way to go
- Buying our hosted Discourse service: [https://discourse.org/buy 1](https://discourse.org/buy)  
----------We cannot take this option. Because of app’s personal data, have to be on our servers.
- Using another forum software that complies with your requirements.  
---------Will check on this.

---

<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: [21 Agosto 2018, 6:32pm UTC](https://meta.discourse.org/t/discourse-installation-end-to-end-on-windows-server-2016/95311/9 "2018-08-21T18:32:37Z")

</div>

You could do a development install ([Install Discourse on Windows for development](https://meta.discourse.org/t/beginners-guide-to-install-discourse-on-windows-10-for-development/75149)) and then stick an nginx in front of it. But that’s not really recommended either.

---

<div class="post-metadata">

### Author: ![pkarun](https://avatars.discourse-cdn.com/v4/letter/p/a9adbd/32.png) [@pkarun](https://meta.discourse.org/u/pkarun)
#### Post date: [21 Agosto 2018, 7:05pm UTC](https://meta.discourse.org/t/discourse-installation-end-to-end-on-windows-server-2016/95311/10 "2018-08-21T19:05:30Z")

</div>

Thanks Jay. Many close options but mostly not recommended ☹
