dongzhui4927 2015-08-17 15:43
浏览 49

由于定制构建内核,在libcontainer的编译/安装过程中出现错误

I did a git clone of master at libcontainer and then followed through the CONTRIBUTING.md guide.

./update-vendor.sh
go get -d ./...
make direct-build
# Run the tests
make direct-test-short | egrep --color 'FAIL|$'
# Run all the test
make direct-test | egrep --color 'FAIL|$'

THe output of "make direct-build" gives:

    go build -v . ./apparmor ./cgroups ./cgroups/fs ./cgroups/systemd ./configs ./configs/validate ./criurpc ./devices ./integration ./label ./netlink ./nsenter ./nsinit ./seccomp ./selinux ./stacktrace ./system ./user ./utils ./xattr
    github.com/docker/libcontainer/cgroups/systemd
<xxxxx>
    # github.com/docker/libcontainer/cgroups/systemd
    /sda10/gopath/src/github.com/docker/libcontainer/cgroups/systemd/apply_systemd.go:87: not enough arguments in call to theConn.StartTransientUnit
    /sda10/gopath/src/github.com/docker/libcontainer/cgroups/systemd/apply_systemd.go:102: not enough arguments in call to theConn.StopUnit
    /sda10/gopath/src/github.com/docker/libcontainer/cgroups/systemd/apply_systemd.go:121: not enough arguments in call to theConn.StartTransientUnit
    /sda10/gopath/src/github.com/docker/libcontainer/cgroups/systemd/apply_systemd.go:130: not enough arguments in call to theConn.StopUnit
    /sda10/gopath/src/github.com/docker/libcontainer/cgroups/systemd/apply_systemd.go:201: not enough arguments in call to theConn.StartTransientUnit
    /sda10/gopath/src/github.com/docker/libcontainer/cgroups/systemd/apply_systemd.go:272: not enough arguments in call to theConn.StopUnit
    _/home/tthtlc/libcontainer/label
    # _/home/tthtlc/libcontainer/cgroups/systemd
    cgroups/systemd/apply_systemd.go:87: not enough arguments in call to theConn.StartTransientUnit
    cgroups/systemd/apply_systemd.go:102: not enough arguments in call to theConn.StopUnit
    cgroups/systemd/apply_systemd.go:121: not enough arguments in call to theConn.StartTransientUnit
    cgroups/systemd/apply_systemd.go:130: not enough arguments in call to theConn.StopUnit
    cgroups/systemd/apply_systemd.go:201: not enough arguments in call to theConn.StartTransientUnit
    cgroups/systemd/apply_systemd.go:272: not enough arguments in call to theConn.StopUnit
    make: *** [direct-build] Error 2

I tried this:

go get github.com/tools/godep
go get -d github.com/google/cadvisor

All returned without errors. Likely cause is "docker -d" daemon not starting up.

More details:

docker version
Client version: 1.7.0-dev
Client API version: 1.19
Go version (client): go1.4.2
Git commit (client): 5e06332
OS/Arch (client): linux/amd64
FATA[0000] Get http:///var/run/docker.sock/v1.19/version: dial unix /var/run/docker.sock: permission denied. Are you trying to connect to a TLS-enabled daemon without TLS? 

"docker -d" is not able to succeed because my linux kernel is custom build (4.2.0-rc4+, and CONFIG_AUFS_FS is completely absent from my config tree option as it has been deprecated and removed).

Any ideas on how to proceed?

  • 写回答

0条回答 默认 最新

    报告相同问题?

    悬赏问题

    • ¥15 素材场景中光线烘焙后灯光失效
    • ¥15 请教一下各位,为什么我这个没有实现模拟点击
    • ¥15 执行 virtuoso 命令后,界面没有,cadence 启动不起来
    • ¥50 comfyui下连接animatediff节点生成视频质量非常差的原因
    • ¥20 有关区间dp的问题求解
    • ¥15 多电路系统共用电源的串扰问题
    • ¥15 slam rangenet++配置
    • ¥15 有没有研究水声通信方面的帮我改俩matlab代码
    • ¥15 ubuntu子系统密码忘记
    • ¥15 保护模式-系统加载-段寄存器