Skip to content

Why rootless container cannot listen to port 80, even with cap_net_bind_service in bounding set ? #23536

Closed Answered by sbrivio-rh
worming004 asked this question in Q&A
Discussion options

You must be logged in to vote

cap_net_bind_service is present in Bounding set

Careful: the bounding set is a set limiting the capabilities that a file can have (bound). Permitted capabilities are something different, and those are what --cap-add "cap_net_bind_service" adds.

See also the "Capability bounding set" section in capabilities(7).

Replies: 3 comments 1 reply

Comment options

You must be logged in to vote
0 replies
Answer selected by worming004
Comment options

You must be logged in to vote
0 replies
Comment options

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

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