title: docker run -i -t image /bin/bash - source files first
body: <p>This works:</p>
  
  <pre><code># echo 1 and exit:
  $ docker run -i -t image /bin/bash -c "echo 1"
  1
  # exit
  
  # echo 1 and return shell in docker container:
  $ docker run -i -t image /bin/bash -c "echo 1; /bin/bash"
  1
  root@4c064f2554de:/# 
  </code></pre>
  
  <p><strong>Question</strong>: How could I <code>source</code> a file into the shell? (this does not work)</p>
  
  <pre><code>$ docker run -i -t image /bin/bash -c "source &lt;(curl -Ls git.io/apeepg) &amp;&amp; /bin/bash"
  # content from http://git.io/apeepg is sourced and shell is returned
  root@4c064f2554de:/# 
  </code></pre>