backend.local: Set environment on run

Signed-off-by: Chris Crone <christopher.crone@docker.com>
This commit is contained in:
Chris Crone 2020-11-02 16:27:55 +01:00
parent 4fc73d1cdf
commit dce884d5c8
1 changed files with 1 additions and 0 deletions

View File

@ -145,6 +145,7 @@ func (ms *local) Run(ctx context.Context, r containers.ContainerConfig) error {
containerConfig := &container.Config{
Image: r.Image,
Labels: r.Labels,
Env: r.Environment,
ExposedPorts: exposedPorts,
}
hostConfig := &container.HostConfig{