title: How can I pass environment variables to a Docker container with Terraform?
body: <p>I'm spawning Docker containers using Terraform's Docker provider, but fail to understand how to pass them environment variables.</p>
  
  <p>The project's documentation on the <code>env</code> option states :</p>
  
  <blockquote>
    <p>env - (Optional, set of strings) Environment variables to set.</p>
  </blockquote>
  
  <p>What is a "set of strings" in context ? Can you provide an example docker container resource declaration that uses the <code>env</code> option ?</p>