Skip to content

Commit

Permalink
Merge pull request kubernetes#135 from diegs/setcap
Browse files Browse the repository at this point in the history
Add CAP_NET_BIND_SERVICE to hyperkube.
  • Loading branch information
diegs authored May 18, 2017
2 parents 70bc093 + 2398096 commit bc000d3
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions cluster/images/hyperkube/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -91,3 +91,6 @@ RUN ln -s /hyperkube /apiserver \

# Copy the hyperkube binary
COPY hyperkube /hyperkube

# Add CAP_NET_BIND_SERVICE to hyperkube so it can bind privileged ports as non-root.
RUN setcap cap_net_bind_service=+ep /hyperkube

0 comments on commit bc000d3

Please sign in to comment.