Ver código fonte

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

native driver: Don't drop SETFCAP
Michael Crosby 11 anos atrás
pai
commit
e5202de918

+ 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,