How to use --security-opt
in Podman API
#24187
Answered
by
Luap99
ruspaul013
asked this question in
Q&A
-
Hello! I am trying to add |
Beta Was this translation helpful? Give feedback.
Answered by
Luap99
Oct 7, 2024
Replies: 1 comment 1 reply
-
They have their own option in the specgen format instead of one podman/pkg/specgenutil/specgen.go Line 700 in 35768ae So you pass |
Beta Was this translation helpful? Give feedback.
1 reply
Answer selected by
ruspaul013
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
They have their own option in the specgen format instead of one
security-opt
field that handles a bunch of different thingspodman/pkg/specgenutil/specgen.go
Line 700 in 35768ae
So you pass
"no_new_privileges" : true
for example in the specgen json, seem like you PR already parses it.