Running Discourse with Docker for local development

It’s a little difficult to find the authoritative guide for this. It turns out it’s here:

https://meta.discourse.org/t/beginners-guide-to-install-discourse-for-development-using-docker/102009

The steps are basically:

$ git clone git@github.com:discourse/discourse.git
$ cd discourse
$ ./bin/docker/boot_dev --init
# Follow the guide to set up an admin account

$ ./bin/docker/rails s

Now visit http://localhost:3000/ in your browser to see your new development discourse installation!