Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit e5202de

Browse files
committed
Merge pull request moby#5930 from alexlarsson/add-cap-setfcap
native driver: Don't drop SETFCAP
2 parents f3edb7c + fcf2e9a commit e5202de

1 file changed

Lines changed: 3 additions & 0 deletions

File tree

daemon/execdriver/native/template/default_template.go

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,9 @@ func New() *libcontainer.Container {
1717
"NET_RAW",
1818
"SETGID",
1919
"SETUID",
20+
"SETFCAP",
21+
"SETPCAP",
22+
"NET_BIND_SERVICE",
2023
},
2124
Namespaces: map[string]bool{
2225
"NEWNS": true,

0 commit comments

Comments
 (0)