genuinetools / riddler

A tool to convert docker inspect to the opencontainers runc spec.
MIT License
253 stars 21 forks source link

compile riddler without BUILDTAGS=seccomp apparmor,runc is failed #15

Closed kingsin-fzj closed 6 years ago

kingsin-fzj commented 7 years ago

at the centos7, whne compile riddler without BUILDTAGS=seccomp apparmor,runc is failed tips: runc run Test container_linux.go:247: starting container process caused "process_linux.go:334: running prestart hook 0 caused \"error running hook: exit status 1, stdout: , stderr: time=\\"2017-02-27T20:04:39+08:00\\" level=fatal msg=\\"Renaming interface ethc145913 to eth0 failed: file exists\\" \n\""

kingsin-fzj commented 7 years ago

Yes, I'm sure, if without BUILDTAGS=seccomp apparmor to make riddler. when use Riddler mount:

riddler -idlen 65536 -idroot 1000 -hook prestart:netns dbser

It will be wrong!!!

jessfraz commented 6 years ago

yeah this is working as intended riddler was made to make seccomp and apparmor default, sorry