title: Cannot use vi or vim command in docker container?
body: <p>It's CentOS 7, already installed vi and vim in my CentOS and I can use them. I run docker in CentOS, when I excute this line below:</p>
  
  <pre><code>docker exec -it mysolr /bin/bash
  </code></pre>
  
  <p>I cannot use vi/vim in the solr container:</p>
  
  <pre><code>bash: vim: command not found
  </code></pre>
  
  <p>Why is that and how do I fix it so I can use vi/vim to edit file in docker container?</p>