89luca89 / distrobox

Use any linux distribution inside your terminal. Enable both backward and forward compatibility with software and freedom to use whatever distribution you’re more comfortable with. Mirror available at: https://gitlab.com/89luca89/distrobox
https://distrobox.it/
GNU General Public License v3.0
9.43k stars 385 forks source link

[Suggestion] Allow changing linux capabilities #1387

Closed Double-0-seven7 closed 2 weeks ago

Double-0-seven7 commented 2 months ago

Is your feature request related to a problem? Please describe. I tried to use the setcap command inside an ubuntu container without root permissions (without the --root option) to add more capabilities to a binary/app but it doesn't seem to do or change anything. Describe the solution you'd like allow me to add more capabilities to a binary inside a rootless container. Describe alternatives you've considered You can use podman manually to add/change linux capabilities but I dont really understand how to use it.

89luca89 commented 2 weeks ago

You can use the --additional-flags option explained here: https://github.com/89luca89/distrobox/blob/main/docs/usage/distrobox-create.md#extra to add more capabilities or rather any flag of podman/docker that you want