News for hackers. Stuff that matters.
Re:SELinux is unmanageable; just turn it off if it gets in y... by mmis1000 on Wednesday April 27, 2022 @07:46AM (#31178721)
Docker actually comes with an apparmor config that disallows you to interact with any files outside of the container. It's not a so strong guarantee compares to inode based approach (selinix), but is still much better than don't have one.

And if you enables uid mapping, your permission in the host system is just as high as nobody if there isn't a kernel exploit happened somewhere.

But the fact it is nobody is also problematic, because dir mount will be almost alwyas read-only now.

Re:SELinux is unmanageable; just turn it off if it gets in y... by cpuguy83 on Wednesday April 27, 2022 @11:11AM (#31180876)
It comes with both an apparmor profile and an SELinux profile. What gets used depends on what's on the system... and I guess you need to actually set the flag on dockerd to enable SELinux.