title: output file after docker image is created through Dockerfile
body: <p>I'm creating a Dockerfile to build my docker image.  I was wondering what the best way, or if it's even possible, to create a log file of some sort that can show the results of the build and see if there were any errors in the process.  For example, right now I have this:</p>
  
  <pre><code>monoVersion="3.8.0"
  mkdir ~/mono
  curl http://download.mono-project.com/sources/mono/mono-$monoVersion.tar.bz2 | tar xj --strip-components 1 -C ~/mono
  cd ~/mono
  git apply /src/mono-fix-20131106.patch
  ./configure --prefix=/usr/local
  make -j 2
  make install
  </code></pre>
  
  <p>in a install.sh script.  In my Dockerfile I have:</p>
  
  <pre><code>FROM centos
  MAINTAINER crystaltwix
  ADD . /src
  RUN  cd /src ; ./install.sh
  </code></pre>
  
  <p>I'd like a way that I can look at the output after the image is created so every time I grab a different version of Mono, or do something similar when creating a new iamge, I can look after the image is created to see if any errors were generated.  Is this possible?  Or is that "connection" to the image being built closed once the Dockerfile is completed.  Thank you.</p>