Closed kingsin-fzj closed 7 years ago
You need those two file headers or to compile without the build tags seccomp and apparmor
On Sun, Feb 26, 2017, 03:13 kingsin-fzj notifications@github.com wrote:
I will be on the centos7 when the Riddler tool transplant tips:
root@192.168.0.20:~/Little_king/tools/riddler $make build
build
github.com/opencontainers/runc/libcontainer/apparmor
/usr/local/go/src/ github.com/opencontainers/runc/libcontainer/apparmor/apparmor.go:6:27: fatal error: sys/apparmor.h: No such file or directory // #include <sys/apparmor.h> ^ compilation terminated. github.com/seccomp/libseccomp-golang
/usr/local/go/src/github.com/seccomp/libseccomp-golang/seccomp.go:25:22: fatal error: seccomp.h: No such file or directory // #include
^ compilation terminated. make: *** [build] 错误 2 Are there any other tools that can support the opening of the network? how to add external CentOS on the socket for you,and let runc container to communicate with the outside
— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/jessfraz/riddler/issues/14, or mute the thread https://github.com/notifications/unsubscribe-auth/ABYNbOpbYpd2dyW0RSYKYKaAtOBAoGX4ks5rgV5HgaJpZM4MMWLG .
I updated the readme with instructions https://github.com/jessfraz/riddler/commit/bdef87d52e73df509efcaea265046b21217f3e31
@jessfraz
Well, I try to compile without of BUILDTAGS=seccomp apparmor
I will be on the centos7 when the Riddler tool transplant tips:
root@192.168.0.20:~/Little_king/tools/riddler $make build
github.com/opencontainers/runc/libcontainer/apparmor
/usr/local/go/src/github.com/opencontainers/runc/libcontainer/apparmor/apparmor.go:6:27: fatal error: sys/apparmor.h: No such file or directory // #include <sys/apparmor.h> ^ compilation terminated. github.com/seccomp/libseccomp-golang
/usr/local/go/src/github.com/seccomp/libseccomp-golang/seccomp.go:25:22: fatal error: seccomp.h: No such file or directory // #include
^
compilation terminated.
make: *** [build] 错误 2
Are there any other tools that can support the opening of the network? how to add external CentOS on the socket for you,and let runc container to communicate with the outside