# How do I open the Rails console in Discourse Docker in production mode?

**URL:** https://meta.discourse.org/t/how-do-i-open-the-rails-console-in-discourse-docker-in-production-mode/16970
**Category:** Self-hosting
**Tags:** hosting
**Created:** [28 ביוני,‏ 2014,‏ 9:37pm UTC](https://meta.discourse.org/t/how-do-i-open-the-rails-console-in-discourse-docker-in-production-mode/16970 "2014-06-28T21:37:25Z")
**Posts on this page:** 1
**Showing post:** 6

<div class="post-metadata">

### Author: ![metakermit](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/metakermit/32/119609_2.png) [@metakermit](https://meta.discourse.org/u/metakermit)
#### Post date: [4 באפריל,‏ 2018,‏ 12:34pm UTC](https://meta.discourse.org/t/how-do-i-open-the-rails-console-in-discourse-docker-in-production-mode/16970/6 "2018-04-04T12:34:35Z")

</div>

Just a correction:

```plaintext
cd /var/discourse/
./launcher enter app
rails c

```

---

_[View the full topic](https://meta.discourse.org/t/how-do-i-open-the-rails-console-in-discourse-docker-in-production-mode/16970)._
