浏览代码

Merge pull request #5930 from alexlarsson/add-cap-setfcap

native driver: Don't drop SETFCAP
Michael Crosby 11 年之前
父节点
当前提交
e5202de918
共有 1 个文件被更改,包括 3 次插入0 次删除
  1. 3 0
      daemon/execdriver/native/template/default_template.go

+ 3 - 0
daemon/execdriver/native/template/default_template.go

@@ -17,6 +17,9 @@ func New() *libcontainer.Container {
 			"NET_RAW",
 			"SETGID",
 			"SETUID",
+			"SETFCAP",
+			"SETPCAP",
+			"NET_BIND_SERVICE",
 		},
 		Namespaces: map[string]bool{
 			"NEWNS":  true,