title: Mount S3 bucket as filesystem on AWS ECS container
body: <p>I am trying to mount S3 as a volume on AWS ECS docker container using rexray/s3fs driver.</p>
  
  <p>I am able to do this on my local machine, where I installed plugin</p>
  
  <pre><code>$docker plugin install rexray/s3fs
  </code></pre>
  
  <p>and mounted S3 bucket on docker container.</p>
  
  <pre><code>$docker plugin ls
  
  ID                  NAME                 DESCRIPTION                                   ENABLED
  
  3a0e14cadc17        rexray/s3fs:latest   REX-Ray FUSE Driver for Amazon Simple Storage   true 
  
  $docker run -ti --volume-driver=rexray/s3fs -v s3-bucket:/data img
  </code></pre>
  
  <p>I am trying replicate this on AWS ECS.</p>
  
  <p>Tried follow below document:
  <a href="https://docs.aws.amazon.com/AmazonECS/latest/developerguide/docker-volumes.html" rel="noreferrer">https://docs.aws.amazon.com/AmazonECS/latest/developerguide/docker-volumes.html</a></p>
  
  <p>If I give Driver value then task is not able to run and giving 
  "was unable to place a task because no container instance met all of its requirements." error.</p>
  
  <p>I am using t2.medium instance and giving of it requirement for task so it should not be H/W requirement issue.</p>
  
  <p>If I remove the Driver config from Job definition task gets executed.</p>
  
  <p>It seems I am miss configuring something.</p>
  
  <p>Is anyone trying/tried same thing, please share the knowledge.</p>
  
  <p>Thanks!!</p>