driver: set correct network isolation caps for exec and java dr… (#6368)

This commit is contained in:
Nick Ethier 2019-09-25 11:48:14 -04:00 committed by GitHub
parent d29074033b
commit 53d3ea8ebd
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 8 additions and 0 deletions

View File

@ -74,6 +74,10 @@ var (
SendSignals: true,
Exec: true,
FSIsolation: drivers.FSIsolationChroot,
NetIsolationModes: []drivers.NetIsolationMode{
drivers.NetIsolationModeHost,
drivers.NetIsolationModeGroup,
},
}
)

View File

@ -83,6 +83,10 @@ var (
SendSignals: false,
Exec: false,
FSIsolation: drivers.FSIsolationNone,
NetIsolationModes: []drivers.NetIsolationMode{
drivers.NetIsolationModeHost,
drivers.NetIsolationModeGroup,
},
}
_ drivers.DriverPlugin = (*Driver)(nil)