This project aims to allow the use of EBS-backed Docker volumes by implementing the docker volume plugin API.
It uses the docker/go-plugins-helpers to do so and wouldn't have been possible without David Calavera's Docker volume garbage generator, from wich it inherits its MIT license.
The plugin is meant to be installed on docker hosts in AWS and to have no added dependency. It directly accesses the EC2 API and should get its privileges and credentials using IAM instance profile.
This is still a WIP at this point and should not be used ;)
The following options are supported as -o
when calling docker volume create
:
- size: the size of the volume in GB
- type: the type of EBS volume ("standard", "gp2", "io1")
- iops: when the type is set to "io1", this value will be used for the Iops. Otherwise it will be ignored