Skip to content

How to use --security-opt in Podman API #24187

Answered by Luap99
ruspaul013 asked this question in Q&A
Discussion options

You must be logged in to vote

They have their own option in the specgen format instead of one security-opt field that handles a bunch of different things

for _, opt := range c.SecurityOpt {

So you pass "no_new_privileges" : true for example in the specgen json, seem like you PR already parses it.

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@ruspaul013
Comment options

Answer selected by ruspaul013
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants