Allow to set env variables through the API

This commit is contained in:
Marcos Lilljedahl
2020-06-19 08:26:12 -03:00
parent 0810809166
commit 833e71330f
4 changed files with 6 additions and 2 deletions

View File

@@ -78,6 +78,7 @@ func (d *DinD) InstanceNew(session *types.Session, conf types.InstanceConfig) (*
Privileged: true,
Networks: []string{session.Id},
DindVolumeSize: conf.DindVolumeSize,
Envs: conf.Envs,
}
dockerClient, err := d.factory.GetForSession(session)