yp-engineering / rbd-docker-plugin

Ceph RBD docker volume driver plugin.
MIT License
102 stars 70 forks source link

Provide size of a volume via `Opts` instead of annotated name #29

Closed dvusboy closed 8 years ago

dvusboy commented 8 years ago

Currently, the way to specify the size of a volume is by decorating the volume name with @<size>. This format does not work well for Docker Compose. Can we provide support for using proper driver options to specify the size of the rbd image?

porcupie commented 8 years ago

Good idea - will look into doing this for at least the currently supported "options": size, pool, fstype.