浏览代码

Add CAP_KILL to unprivileged containers
Docker-DCO-1.1-Signed-off-by: Michael Crosby <michael@crosbymichael.com> (github: crosbymichael)

Michael Crosby 11 年之前
父节点
当前提交
fa72eb3a58
共有 1 个文件被更改,包括 1 次插入0 次删除
  1. 1 0
      daemon/execdriver/native/template/default_template.go

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

@@ -21,6 +21,7 @@ func New() *libcontainer.Container {
 			"SETPCAP",
 			"NET_BIND_SERVICE",
 			"SYS_CHROOT",
+			"KILL",
 		},
 		Namespaces: map[string]bool{
 			"NEWNS":  true,