docker-archive / for-aws

92 stars 26 forks source link

How to use multiple cloudstor:aws volumes on one AWS EC2 instance? #195

Open johan1252 opened 5 years ago

johan1252 commented 5 years ago

We are trying to use multiple cloudstor:aws volumes with Amazon ECS. Everything works great for the first volume but when a second container is spun up on the same instance with a different cloudstor:aws volume it complains with CannotCreateContainerError: Error response from daemon: VolumeDriver.Mount: error mounting volume: InvalidParameterValue: Invalid value '/dev/xvdf' for unixDevice. Attachment point /dev/xvdf is already in use status code: 400, request id: 68f53836-2f4e-4

Is there a way to tell the cloudstor:aws docker volume driver/plugin to use a different attachment point? like /dev/xvdg for example.