mirror of
https://github.com/clearlinux/docker.git
synced 2026-10-04 07:48:44 +00:00
Merge pull request #5810 from vmarmol/drop-caps
Change libcontainer to drop all capabilities by default.
This commit is contained in:
@@ -26,6 +26,11 @@ func New() *libcontainer.Container {
|
||||
"NET_ADMIN": false,
|
||||
"MKNOD": true,
|
||||
"SYSLOG": false,
|
||||
"SETUID": true,
|
||||
"SETGID": true,
|
||||
"CHOWN": true,
|
||||
"NET_RAW": true,
|
||||
"DAC_OVERRIDE": true,
|
||||
},
|
||||
Namespaces: map[string]bool{
|
||||
"NEWNS": true,
|
||||
|
||||
Reference in New Issue
Block a user