# Docker setup for development

**URL:** https://meta.discourse.org/t/docker-setup-for-development/72354
**Category:** Development
**Created:** [October 18, 2017, 5:02pm UTC](https://meta.discourse.org/t/docker-setup-for-development/72354 "2017-10-18T17:02:25Z")
**Posts on this page:** 1
**Showing post:** 11

<div class="post-metadata">

### Author: ![gerhard](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/gerhard/32/119479_2.png) [@gerhard](https://meta.discourse.org/u/gerhard)
#### Post date: [October 18, 2017, 6:50pm UTC](https://meta.discourse.org/t/docker-setup-for-development/72354/11 "2017-10-18T18:50:47Z")

</div>

Take a look at all the scripts inside [bin/docker](https://github.com/discourse/discourse/tree/master/bin/docker). They are very helpful and one of them is `migrate`.

So, calling `./bin/docker/migrate` will migrate your development and test database.  
Of course you can also use `./bin/docker rake` if you want to execute other rake tasks.

You can also follow the instructions of the [Install Discourse on Ubuntu or Debian for Development](https://meta.discourse.org/t/beginners-guide-to-install-discourse-on-ubuntu-for-development/14727) if you don’t want to use the Docker based environment.

---

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