rancher / convoy

A Docker volume plugin, managing persistent container volumes.
Apache License 2.0
1.31k stars 135 forks source link

Copy on Create Volumes #221

Open alwinmark opened 6 years ago

alwinmark commented 6 years ago

Hello,

hopefully convoy is not dead (#220) because I really love the use case of convoy. We currently backup all our volumes on all docker nodes with the help of ansible and convoy and it would really hurt if rancher drops the support.

While doing so, we found a misbehavior similar to the one reported to moby:

When a named/anonymous volume is created it should copy the directory from the docker volume like it is happening with the local driver. That would even improve the usecase and we could basically backup the whole state of every container which would be simply awesome.

I really hope this project is not dead and you can fix this behavior.

Best regards Alwin

yasker commented 6 years ago

@alwinmark This is a known behavior of Docker for quite some time. I am afraid that from Convoy's perspective it's hard to support this. It's Docker's decision to put anything inside volume plugin's mount path or not. Convoy cannot control that.