mirror of
https://github.com/docker/compose.git
synced 2025-07-25 14:44:29 +02:00
backend.local: Set environment on run
Signed-off-by: Chris Crone <christopher.crone@docker.com>
This commit is contained in:
parent
4fc73d1cdf
commit
dce884d5c8
@ -145,6 +145,7 @@ func (ms *local) Run(ctx context.Context, r containers.ContainerConfig) error {
|
|||||||
containerConfig := &container.Config{
|
containerConfig := &container.Config{
|
||||||
Image: r.Image,
|
Image: r.Image,
|
||||||
Labels: r.Labels,
|
Labels: r.Labels,
|
||||||
|
Env: r.Environment,
|
||||||
ExposedPorts: exposedPorts,
|
ExposedPorts: exposedPorts,
|
||||||
}
|
}
|
||||||
hostConfig := &container.HostConfig{
|
hostConfig := &container.HostConfig{
|
||||||
|
Loading…
x
Reference in New Issue
Block a user