this post was submitted on 22 Oct 2023
30 points (96.9% liked)

Linux

48852 readers
2003 users here now

From Wikipedia, the free encyclopedia

Linux is a family of open source Unix-like operating systems based on the Linux kernel, an operating system kernel first released on September 17, 1991 by Linus Torvalds. Linux is typically packaged in a Linux distribution (or distro for short).

Distributions include the Linux kernel and supporting system software and libraries, many of which are provided by the GNU Project. Many Linux distributions use the word "Linux" in their name, but the Free Software Foundation uses the name GNU/Linux to emphasize the importance of GNU software, causing some controversy.

Rules

Related Communities

Community icon by Alpár-Etele Méder, licensed under CC BY 3.0

founded 5 years ago
MODERATORS
 

Title. Just curious since apparently cap_drop=all means that the container "can't do a thing" (?). Root users are (also) included in this (?). That'd be great if someone could enlighten me on this topic.

Thanks in advance.

top 1 comments
sorted by: hot top controversial new old
[–] [email protected] 12 points 1 year ago

Security is all about layers. I'm not familiar with the exact process difference, but even without capabilities, its still running as the root user. I believe, I haven't investigated rootless docker that much.

Podman, for example, can run entirely rootless and daemonless. So it offers one more layer that if something breaks out of its namespace, the user the service is running as can be something without useful permissions adding an extra layer to be able to cause harm.

Nothing is perfect, but having one more layer approach can be useful, depending in what your threat model is.