4 ms·
The chart is very out of date. rkt has support for userns, the capability set is identical to that of Docker, and so is the default seccomp configuration. The S
by mjg59 10y ago
The chart is very out of date. rkt has support for userns, the capability set is identical to that of Docker, and so is the default seccomp configuration. The SELinux policy used by rkt has always been identical to the one used by Docker (I have no idea why the chart claims there was a difference), and it's used by default if SELinux is enabled on the system. Rkt has no apparmor policy support, the set of files under /proc restricted by rkt is still slightly smaller than that restricted by Docker, and the cgroup difference doesn't actually appear to be discussed in the NCC paper so it's hard to comment on the difference there.
I don't want to criticise Docker here from a security perspective - several security features in rkt are based on the implementation in Docker, and running your apps isolated under Docker is definitely more secure than running them all on the same unconfined host.
(Disclaimer: I work at CoreOS, though not primarily on rkt)
- raesene9 10y agoThe chart will be a bit old now coming from a white paper that was published 4 months back and was in the works for some time before that. (disclaimer - I work for NCC but didn't work on that paper) One of the big challenges with the containerization landscape is keeping up with changing product capabilities as there's a lot of movement all over the place.
- justincormack 10y agoThe default seccomp configuration in rkt is not the same. It is based on the Docker one, yes, but as it does not support parameter filtering it is significantly weaker, eg it allows namespace creation, and all use of the personality syscall, allowing users to disable ASLR.
- mjg59 10y agoTrue, I'd forgotten that aspect. Thanks for the correction.