docker-volume-plugin-example icon indicating copy to clipboard operation
docker-volume-plugin-example copied to clipboard

Error during build

Open 3goats opened this issue 8 years ago • 0 comments

Hi,

Just trying to compile this example, however I'm getting an error during the build. I followed you instructions here: https://blog.codeship.com/extend-docker-via-plugin/

  1. git clone https://github.com/fntlnz/docker-volume-plugin-example.gi
  2. cd docker-volume-plugin-example
  3. go get
  4. go build .
# _/home/cbourne/docker-dev/docker-volume-plugin-example
./main.go:11: cannot use driver (type ExampleDriver) as type volume.Driver in argument to volume.NewHandler:
	ExampleDriver does not implement volume.Driver (missing Capabilities method)
./main.go:12: cannot use "driver-example" (type string) as type int in argument to handler.Handler.ServeUnix

3goats avatar Jan 03 '17 20:01 3goats