dorisdong0514 2017-07-07 15:56
浏览 80
已采纳

Docker安装LVM插件

Im trying to docker LVM plugin but facing some issues with GO.

 pr@pr-ubuntu:~/ba/docker-lvm-plugin$ go version
go version go1.8.3 linux/amd64
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 .
make: /usr/bin/go: Command not found
make: *** [lvm-plugin-build] Error 127

Here is my GO version.

pr@pr-ubuntu:~/ba/docker-lvm-plugin$ go version
go version go1.8.3 linux/amd64
  • 写回答

1条回答 默认 最新

  • doupin5408 2017-07-07 16:01
    关注

    Looks like the makefile has a hard-coded absolute path to the go binary at /usr/bin/go (bad makefile, no biscuit!) - if your binary is not there, create a symlink to it at that location.

    本回答被题主选为最佳回答 , 对您是否有帮助呢?
    评论

报告相同问题?