driver: set correct network isolation caps for exec and java dr… (#6368)
This commit is contained in:
parent
d29074033b
commit
53d3ea8ebd
|
@ -74,6 +74,10 @@ var (
|
|||
SendSignals: true,
|
||||
Exec: true,
|
||||
FSIsolation: drivers.FSIsolationChroot,
|
||||
NetIsolationModes: []drivers.NetIsolationMode{
|
||||
drivers.NetIsolationModeHost,
|
||||
drivers.NetIsolationModeGroup,
|
||||
},
|
||||
}
|
||||
)
|
||||
|
||||
|
|
|
@ -83,6 +83,10 @@ var (
|
|||
SendSignals: false,
|
||||
Exec: false,
|
||||
FSIsolation: drivers.FSIsolationNone,
|
||||
NetIsolationModes: []drivers.NetIsolationMode{
|
||||
drivers.NetIsolationModeHost,
|
||||
drivers.NetIsolationModeGroup,
|
||||
},
|
||||
}
|
||||
|
||||
_ drivers.DriverPlugin = (*Driver)(nil)
|
||||
|
|
Loading…
Reference in New Issue