# 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 21:37:25 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:** 5

<div class="post-metadata">

**Author:** ![supermathie](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/supermathie/32/507518_2.png) [@supermathie](https://meta.discourse.org/u/supermathie)\
**Post date:** [28.Июнь.2014 23:19:02 UTC](https://meta.discourse.org/t/how-do-i-open-the-rails-console-in-discourse-docker-in-production-mode/16970/5 "2014-06-28T23:19:02Z")

</div>

You’re launching the container running a single command only: bash

That’s analogous to booting a VM in single user mode.

As Sam says, launch it normally and then ssh in.

---

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