title: Pass an environment variable to Docker
body: <p>Here is a particular operation everyone can try:</p>
  
  <pre><code>docker run --env TEST='xxx' ubuntu:14.04 /bin/echo $TEST
  </code></pre>
  
  <p>That returns an empty string.</p>