# Install Discourse for development using Docker

**URL:** <https://meta.discourse.org/t/install-discourse-for-development-using-docker/102009>\
**Category:** Developer Guides\
**Tags:** docker, dev-install, how-to\
**Created:** [November 16, 2018, 9:40am UTC](https://meta.discourse.org/t/install-discourse-for-development-using-docker/102009 "2018-11-16T09:40:04Z")\
**Posts on this page:** 1\
**Showing post:** 146

<div class="post-metadata">

**Author:** ![Cosmin\_Popescu](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/cosmin_popescu/32/95102_2.png) [@Cosmin\_Popescu](https://meta.discourse.org/u/Cosmin_Popescu)\
**Post date:** [January 24, 2021, 8:03am UTC](https://meta.discourse.org/t/install-discourse-for-development-using-docker/102009/146 "2021-01-24T08:03:08Z")

</div>

Hello!

I have managed to install Discourse on Windows using WSL.

Prerequisites that i have done.

- Enable WSL with version 2
- I am using Ubuntu 20.04
- Set up your distribution 🙂 Follow the given instructions and you are ready to go

In the distribution, under my home home folder, `/home/cosmin`.

- Install Docker as instructed in the first post. The installation part of [docker.io](http://docker.io) was not necessary for me. I only executed `sudo usermod -a -G docker $USER`
- After the Docker installation is complete, start the service with `sudo docker service start` and check it
- `cd discourse`
- Run `d/boot_dev --init` and wait to finish
- Run in discourse folder, run `d/unicorn` and you are ready yo go

Note:  
If the commands are reporting permissions error, try with `sudo`

Hope this helps 🙂  
Have a nice day or evening!  
Cosmin

---

_[View the full topic](https://meta.discourse.org/t/install-discourse-for-development-using-docker/102009)._
