mirror of https://github.com/docker/docs.git
Merge pull request #5907 from vmarmol/caps
Don't drop CAP_FOWNER in the container.
This commit is contained in:
commit
a3a26cd349
|
@ -10,12 +10,13 @@ import (
|
||||||
func New() *libcontainer.Container {
|
func New() *libcontainer.Container {
|
||||||
container := &libcontainer.Container{
|
container := &libcontainer.Container{
|
||||||
Capabilities: []string{
|
Capabilities: []string{
|
||||||
"MKNOD",
|
|
||||||
"SETUID",
|
|
||||||
"SETGID",
|
|
||||||
"CHOWN",
|
"CHOWN",
|
||||||
"NET_RAW",
|
|
||||||
"DAC_OVERRIDE",
|
"DAC_OVERRIDE",
|
||||||
|
"FOWNER",
|
||||||
|
"MKNOD",
|
||||||
|
"NET_RAW",
|
||||||
|
"SETGID",
|
||||||
|
"SETUID",
|
||||||
},
|
},
|
||||||
Namespaces: map[string]bool{
|
Namespaces: map[string]bool{
|
||||||
"NEWNS": true,
|
"NEWNS": true,
|
||||||
|
|
Loading…
Reference in New Issue