doutan1905 2017-07-07 16:19
浏览 114

Docker LVM插件安装问题

im trying to install docker lvm plugin given in this link and when I execute the make command it throws me the following error.

pr@pr-ubuntu:~/ba/docker-lvm-plugin$ make
go-md2man -in man/docker-lvm-plugin.8.md -out docker-lvm-plugin.8
/usr/bin/go build -o docker-lvm-plugin .
utils.go:14:2: cannot find package "github.com/docker/docker/pkg/system" in any of:
    /usr/local/go/src/github.com/docker/docker/pkg/system (from $GOROOT)
    /home/pr/programming/go/packages/src/github.com/docker/docker/pkg/system (from $GOPATH)
driver.go:10:2: cannot find package "github.com/docker/go-plugins-helpers/volume" in any of:
    /usr/local/go/src/github.com/docker/go-plugins-helpers/volume (from $GOROOT)
    /home/pr/programming/go/packages/src/github.com/docker/go-plugins-helpers/volume (from $GOPATH)
make: *** [lvm-plugin-build] Error 1

I believe its looking for docker go-plugin-helpers, I see those packages here but not sure how to install in my GOPATH.

https://github.com/docker/go-plugins-helpers

  • 写回答

1条回答 默认 最新

  • drgweamoi473182981 2017-07-07 16:27
    关注

    If you're trying to build a Go program, you should read the Go documentation, at least the basics. To install a package:

    go get github.com/docker/go-plugins-helpers
    
    评论

报告相同问题?

悬赏问题

  • ¥30 这是哪个作者做的宝宝起名网站
  • ¥60 版本过低apk如何修改可以兼容新的安卓系统
  • ¥25 由IPR导致的DRIVER_POWER_STATE_FAILURE蓝屏
  • ¥50 有数据,怎么建立模型求影响全要素生产率的因素
  • ¥50 有数据,怎么用matlab求全要素生产率
  • ¥15 TI的insta-spin例程
  • ¥15 完成下列问题完成下列问题
  • ¥15 C#算法问题, 不知道怎么处理这个数据的转换
  • ¥15 YoloV5 第三方库的版本对照问题
  • ¥15 请完成下列相关问题!