Browse Source

backend.local: Set environment on run

Signed-off-by: Chris Crone <[email protected]>
Chris Crone 5 years ago
parent
commit
dce884d5c8
1 changed files with 1 additions and 0 deletions
  1. 1 0
      local/backend.go

+ 1 - 0
local/backend.go

@@ -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{