Set Docker container capabilities

RocketSam

Cadet
Joined
Jan 29, 2024
Messages
2
Hello friends.
I've got a simple question about running custom Apps on TrueNAS Scale. What I need to achieve is to explicitly allow some capabilities for a container.
If I run docker container from a command line I will use
--cap-drop=ALL --cap-add=CHOWN --cap-add=SETUID --cap-add=SETGID --cap-add=DAC_OVERRIDE --cap-add=NET_RAW

Custom App wizard has corresponding section Capabilities, but I didn't find in what format should I declare it?

1706522599525.png


Thanks a lot!
 

sretalla

Powered by Neutrality
Moderator
Joined
Jan 1, 2016
Messages
9,700
I don't know for sure, but I would say that you can't use the first one and the rest would be specified only with what's on the right side of the equals sign.
 

sretalla

Powered by Neutrality
Moderator
Joined
Jan 1, 2016
Messages
9,700
Looks right to me... again, making assumptions, but I don't see how else it can work.
 
Top