kazuhisya / docker-volume-sheepdog

Docker Volume Plugin for Sheepdog

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Support snapshot?

kazuhisya opened this issue · comments

One of the special features of sheepdog is its ability to handle snapshots very easily.
Current docker-volume-sheepdog does not make use of this function.

if sheepip == "" {
cmd = "sudo dog vdi list -r |grep ^= | grep -w " + vdiname + "|cut -d' ' -f 2"
} else {

*grep ^=: using only volumes that are not explicitly snapshots

How can we apply to docker-volume-sheepdog this function? We may need to consider.