title: Rails console in docker container input/output looks messed up
body: <p>I have a dockerized ruby on rails container. When I enter <code>rails console</code> inside of this container and press return it displays <code>\r</code>:</p>
  <pre><code>[1] pry(main)&gt; \r
  [2] pry(main)&gt; \r
  </code></pre>
  <p>If I type a couple commands and press <code>ctrl</code>+<code>r</code> (which is supposed to search my history for matches) it gets completely messed up and starts appending strings to the end of the line instead of clearing the whole line.</p>
  <p>Anyone know what's going on here?</p>
  <p>I'm running Big Sur.</p>