Page MenuHomeVyOS Platform

Container option to add Linux capabilities
Open, Requires assessmentPublicFEATURE REQUEST

Description

There are some containers that need some additional kernel capabilities which would normally be added via the --cap-add runtime option.

My proposal is to have a configuration option that looks like this:

set container name XYZ cap-add NET_ADMIN

The value of cap-add would be a list allowing more than one cap to be added.

Details

Difficulty level
Unknown (require assessment)
Version
-
Why the issue appeared?
Will be filled on close
Is it a breaking change?
Perfectly compatible

Event Timeline

Can you send more examples how it looks like in podman cli?
Which parameters do you set, and how to check if it is successfully applied?