docker-volume-netshare
docker-volume-netshare copied to clipboard
Errors during installation on Centos
Following the building source instructions listed here: Getting Started
I have run export GO15VENDOREXPERIMENT=1
and go get -v github.com/ContainX/depcon
but the following error arises when attempting go get github.com/ContainX/docker-volume-netshare
[root@vdcald05143 go]# go get github.com/ContainX/docker-volume-netshare
# github.com/ContainX/docker-volume-netshare/netshare/drivers
/root/projects/src/src/github.com/ContainX/docker-volume-netshare/netshare/drivers/ceph.go:44: undefined: volume.Response
/root/projects/src/src/github.com/ContainX/docker-volume-netshare/netshare/drivers/ceph.go:68: undefined: volume.Response
/root/projects/src/src/github.com/ContainX/docker-volume-netshare/netshare/drivers/cifs.go:76: undefined: volume.Response
/root/projects/src/src/github.com/ContainX/docker-volume-netshare/netshare/drivers/cifs.go:128: undefined: volume.Response
/root/projects/src/src/github.com/ContainX/docker-volume-netshare/netshare/drivers/driver.go:23: undefined: volume.Response
/root/projects/src/src/github.com/ContainX/docker-volume-netshare/netshare/drivers/driver.go:23: undefined: volume.Request
/root/projects/src/src/github.com/ContainX/docker-volume-netshare/netshare/drivers/driver.go:47: undefined: volume.Response
/root/projects/src/src/github.com/ContainX/docker-volume-netshare/netshare/drivers/driver.go:47: undefined: volume.Request
/root/projects/src/src/github.com/ContainX/docker-volume-netshare/netshare/drivers/driver.go:61: undefined: volume.Response
/root/projects/src/src/github.com/ContainX/docker-volume-netshare/netshare/drivers/driver.go:61: undefined: volume.Request
/root/projects/src/src/github.com/ContainX/docker-volume-netshare/netshare/drivers/driver.go:61: too many errors
No hints to this yet?
https://github.com/docker/go-plugins-helpers/commit/5d3137f1ced3a3b69ba2cdb5d1721fc4aade7808#diff-5f6dd393a12685c02e3685d68c309638
The docker volume library has been refactored.
It appears to now be broken down into more specific structures
For the benefit of others running into this issue, you can find a refactored version - for new API - here: https://github.com/netixx/docker-volume-netshare
go get github.com/ContainX/docker-volume-netshare
cd $GOPATH/src/github.com/ContainX/docker-volume-netshare/
git remote add fork https://github.com/netixx/docker-volume-netshare
git pull fork master
go build
I don't see any errors here... I'm using CentOS Linux release 7.5.1804 (Core) , go version go1.9.4 linux/amd64 and docker-volume-netshare 0.35