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

<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, 6:38pm UTC](https://meta.discourse.org/t/docker-setup-for-development/72354/9 "2017-10-18T18:38:18Z")

</div>

Thanks for answering so fast Joshua. Let me clarify. I have followed the commands in that link and am running the discourse server locally through docker. Now I want to run commands such as ‘rake db:migrate’ but how do I run those commands within the docker container? I am also confused as I dont see a Dockerfile or docker compose. My understanding is that when using docker I should be able to run ‘docker-run rake db:migrate’ to migrate the db within the docker container.

---

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