# 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:** 105

<div class="post-metadata">

**Author:** ![Jeremias\_Volker](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/jeremias_volker/32/162032_2.png) [@Jeremias\_Volker](https://meta.discourse.org/u/Jeremias_Volker)\
**Post date:** [March 13, 2020, 12:38am UTC](https://meta.discourse.org/t/install-discourse-for-development-using-docker/102009/105 "2020-03-13T00:38:26Z")

</div>

I’ve tried the **MacOS** options.

First using Option 2, Homebrew. I ran into issues though as not all dependencies were installed using the command of this guide. [https://medium.com/@yutafujii\_59175/a-complete-one-by-one-guide-to-install-docker-on-your-mac-os-using-homebrew-e818eb4cfc3](https://medium.com/@yutafujii_59175/a-complete-one-by-one-guide-to-install-docker-on-your-mac-os-using-homebrew-e818eb4cfc3) helped me getting a bit further.

I’m now stuck at **Step 2** `d/boot_dev --init`:

```
Migrating database...

rake aborted!

PG::ConnectionBad: could not connect to server: No such file or directory

Is the server running locally and accepting

connections on Unix domain socket "/var/run/postgresql/.s.PGSQL.5432"?

/src/lib/site_settings/db_provider.rb:61:in `table_exists?'

/src/lib/site_settings/db_provider.rb:16:in `all'

/src/lib/site_settings/defaults_provider.rb:29:in `db_all'

/src/lib/site_setting_extension.rb:277:in `block in refresh!'

/src/lib/site_setting_extension.rb:274:in `synchronize'

/src/lib/site_setting_extension.rb:274:in `refresh!'

/src/lib/site_setting_extension.rb:495:in `block in setup_methods'

/src/config/initializers/004-message_bus.rb:120:in `<main>'

/src/config/environment.rb:7:in `<main>'

/usr/local/bin/bundle:23:in `load'

/usr/local/bin/bundle:23:in `<main>'

Tasks: TOP => db:migrate => db:load_config => environment

(See full trace by running task with --trace)

```

I’ve then downloaded the `.dmg` file but as I’m new to Docker, I don’t understand what to do from there. It would be great to have a little more detailed description of the macOS option.

Thanks.

---

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