[Quadlet]: Add support for --sysctl #18727
Labels
kind/feature
Categorizes issue or PR as related to a new feature.
locked - please file new issue/PR
Assist humans wanting to comment on an old issue or PR with locked comments.
quadlet
Feature request description
As far as I saw there is no support for the --sysctl flag up to now for Quadlet.
When using --sysctl for a container, this, at least to my understanding, makes it impossible to simultaneously use Quadlet.
Suggest potential solution
I think this can easily be done similar to other options, like e.g. AddCapability in quadlet.go, something like:
As this is neither tested yet nor I'm fluent in Go, please take with a grain of salt. Also, I'm not sure if the input should be filtered for allowed entries based on namespaces, or if Podman throwing the corresponding error is enough.
Have you considered any alternatives?
One could always use the
podman generate
command to generate a separate unit file based on the used container, but mixing different types of container administration is not ideal.Additional context
No response
The text was updated successfully, but these errors were encountered: