Docker volume driver plugin for CephFS
Dependent:
github.com/docker/go-plugins-helpers/volume
github.com/ceph/go-ceph/rados
github.com/ceph/go-ceph/cephfs
/usr/local/go/pkg/src/github.com/ceph/go-ceph is download
Build:
go build -o xxx driver.go main.go
example: go build -o docker-volume-cephfs driver.go main.go
Run:
./usr/local/go/bin/docker-volume-cephfs
docker run --name vu1 -d -P --volume-driver=root -v test:/root/mycephfs -it centos_7.1503 /bin/bash