title: 'aws configure' in docker container will not use environment variables or config files
body: <p>So I have a docker container running jenkins and an EC2 registry on AWS. I would like to have jenkins push containers back to the EC2 registry.</p>
  
  <p>To do this, I would like to be able to automate the <code>aws configure</code> and <code>get login</code> steps on container startup. I figured that I would be able to </p>
  
  <pre><code>export AWS_ACCESS_KEY_ID=*
  export AWS_SECRET_ACCESS_KEY=*
  export AWS_DEFAULT_REGION=us-east-1
  export AWS_DEFAULT_OUTPUT=json
  </code></pre>
  
  <p>Which I expected to cause <code>aws configure</code> to complete automatically, but that did not work. I then tried creating configs as per the AWS docs and repeating the process, which also did not work. I then tried using <code>aws configure set</code> also with no luck.</p>
  
  <p>I'm going bonkers here, what am I doing wrong?</p>