Provide support to configure privileged containers per playground

This commit is contained in:
Marcos Lilljedahl
2020-10-25 19:21:31 -03:00
parent f9800927fe
commit e8486b8100
5 changed files with 92 additions and 4 deletions

View File

@@ -82,7 +82,7 @@ func (d *DinD) InstanceNew(session *types.Session, conf types.InstanceConfig) (*
ServerKey: conf.ServerKey,
CACert: conf.CACert,
HostFQDN: conf.PlaygroundFQDN,
Privileged: true,
Privileged: conf.Privileged,
Networks: networks,
DindVolumeSize: conf.DindVolumeSize,
Envs: conf.Envs,