title: How to test the container or image after docker build?
body: <p>I have the following Dockerfile</p>
  
  <pre><code>############################################################
  # Purpose   : Dockerize Django App to be used in AWS EC2
  # Django    : 1.8.1
  # OS        : Ubuntu 14.04
  # WebServer : nginx
  # Database  : Postgres inside RDS
  # Python    : 2.7
  # VERSION   : 0.1
  ############################################################
  
  from ubuntu:14.04
  
  maintainer Kim Stacks, kimcity@gmail.com
  
  # make sure package repository is up to date
  run echo "deb http://archive.ubuntu.com/ubuntu $(lsb_release -sc) main universe" &gt; /etc/apt/sources.list
  
  run apt-get update
  
  # install python
  
  # install nginx
  </code></pre>
  
  <p>Inside my VM, I did the following:</p>
  
  <pre><code>docker build -t ubuntu1404/djangoapp .
  </code></pre>
  
  <p>It is successful.</p>
  
  <p><strong>What do I do to run the docker image?</strong>
  <strong>Where is the image or container?</strong></p>
  
  <p>I have already tried running</p>
  
  <pre><code>docker run ubuntu1404/djangoapp
  </code></pre>
  
  <p>Nothing happens.</p>
  
  <p>What I see when I run <code>docker images</code></p>
  
  <pre><code>root@vagrant-ubuntu-trusty-64:/var/virtual/Apps/DockerFiles/Django27InUbuntu# docker images
  REPOSITORY             TAG                 IMAGE ID            CREATED             VIRTUAL SIZE
  ubuntu1404/djangoapp   latest              cfb161605c8e        10 minutes ago      198.3 MB
  ubuntu                 14.04               07f8e8c5e660        10 days ago         188.3 MB
  hello-world            latest              91c95931e552        3 weeks ago         910 B
  </code></pre>
  
  <p>When I run <code>docker ps</code>, nothing shows up</p>