Don't drop CAP_FOWNER in the container. Also sorts the list of allowed
capabilities. Docker-DCO-1.1-Signed-off-by: Victor Marmol <vmarmol@google.com> (github: vmarmol) Upstream-commit: 0abad3ae2290a2b051b8fdaceab17a1ee41ecfb9 Component: engine
This commit is contained in:
@ -10,12 +10,13 @@ import (
|
||||
func New() *libcontainer.Container {
|
||||
container := &libcontainer.Container{
|
||||
Capabilities: []string{
|
||||
"MKNOD",
|
||||
"SETUID",
|
||||
"SETGID",
|
||||
"CHOWN",
|
||||
"NET_RAW",
|
||||
"DAC_OVERRIDE",
|
||||
"FOWNER",
|
||||
"MKNOD",
|
||||
"NET_RAW",
|
||||
"SETGID",
|
||||
"SETUID",
|
||||
},
|
||||
Namespaces: map[string]bool{
|
||||
"NEWNS": true,
|
||||
|
||||
Reference in New Issue
Block a user