ContainX / docker-volume-netshare

Docker NFS, AWS EFS, Ceph & Samba/CIFS Volume Plugin
http://netshare.containx.io
Apache License 2.0
1.12k stars 164 forks source link

Errors during installation on Centos #139

Open stowns opened 7 years ago

stowns commented 7 years ago

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
Muscothym commented 6 years ago

No hints to this yet?

ATLJLawrie commented 6 years ago

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

haebler commented 6 years ago

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
guissenges commented 6 years ago

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