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

<div class="post-metadata">

**Author:** ![drew0101](https://avatars.discourse-cdn.com/v4/letter/d/54ee81/32.png) [@drew0101](https://meta.discourse.org/u/drew0101)\
**Post date:** [October 18, 2017, 7:40pm UTC](https://meta.discourse.org/t/docker-setup-for-development/72354/15 "2017-10-18T19:40:59Z")

</div>

After reading the docs I realized I wasn’t specifying a container. So if you were to use docker exec to migrate your database, would you just run ‘docker exec rake db:migrate’ or ‘docker exec discourse\_dev rake db:migrate’? The second option appears correct from the docker docs, but it says that there was no Rakefile found. Running ‘docker ps’ shows that discourse\_dev is the only container I have running. So now I am wondering if ‘d/rake db:migrate’ is running in the discourse\_dev container or something else?

---

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