If I run the following:
docker plugin install orcinus/odorous:0.1.1
docker volume create --driver orcinus/odorous:0.1.1 -o servers="gluster01.storage:gluster02.storage" -o rest=http://docker:<redacted>@gluster01.storage:9000 -o source=/data/brick1 testvol1
testvol1
It seems to work:
- returns the name of my new volume, and exit code 0
- creates a new volume in Gluster
However, the new volume does not appear in docker volume ls.
Sure enough, interrogating the plugin socket returns basically nothing:
curl -H "Content-Type: application/json" -XPOST -d '{}' --unix-socket /var/run/docker/plugins/8f9ef922d9963a1117c6545a0ba840e476898b9a3f836bac4fccb244eb877265/odorous.sock http:/VolumeDriver.List
{"Mountpoint":"","Err":"","Volumes":null,"Volume":null,"Capabilities":{"Scope":""}}
And another thing, please create a latest tag, because your instructions do not specify the tag, so docker pull tries to get the latest, which does not exist.
If I run the following:
It seems to work:
However, the new volume does not appear in
docker volume ls.Sure enough, interrogating the plugin socket returns basically nothing:
And another thing, please create a
latesttag, because your instructions do not specify the tag, sodocker pulltries to get thelatest, which does not exist.