title: Amazon ECS host directory access
body: <p>I have a solution running locally with docker that I'm trying to deploy at AWS, using ECS. Locally, I have an nginx container that I'm supplying conf files to by using volumes in docker-compose.yml:</p>
  
  <pre><code>volumes:
      - ./nginx:/etc/nginx/conf.d
  </code></pre>
  
  <p>In the ./nginx directory I have two (site-specific).conf files that give configs for a couple of sites. It works beautifully. But when I try to use the ECS Task definition UI, the volumes area doesn't seem to allow any way to make a dir on the EC2 host available to a container. In the 'mount points' area, the source dropdown is always empty, and when I type something like '/nginx:/etc/nginx/conf.d' in the container path field, nothing is saved.</p>
  
  <p>Any ideas how I can access an EC2 dir from a container in ECS? Thanks for any help...</p>