title: Docker run: how to run Ubuntu:16.04 without command?
body: <p>I want to try out installing a program inside of Ubuntu in docker, </p>
  
  <p>So I just run directly from the command prompt</p>
  
  <pre><code>docker run --name ubuntu_test ubuntu:16.04
  docker exec -it ubuntu_test bash
  </code></pre>
  
  <p>but it doesn't work, it says container not running? how can I run the bash without setting up a dockerfile? (I tried using dockerfile, but it doesn't work because of <a href="https://devops.stackexchange.com/questions/5978/dockerfile-how-can-i-input-an-enter-when-in-interactive-sh-installer">interactive installer problem</a>)</p>
  
  <p>So I thought maybe directly install it from the bash could work.</p>