-
Notifications
You must be signed in to change notification settings - Fork 255
docker compose run/exec does not pass env variables without value (docker-compose does) #1681
Comments
This has been fixed already in 1.0.15 release You can confirm by downloading binaries from release page, get |
Thanks! Didn't find such issue. When approximately 1.0.15 is planned to release? |
I mean when it will be delivered with Docker desktop (without manually downloading |
@ndeloof
Version:
|
right, I created #1682 to add support for |
Great! Thank you! |
Description
To pass env variable from current environment as is in
docker-compose
I can set-e VAR
without specifying value.It does not work in new
docker compose
cli.Steps to reproduce the issue:
docker-compose.yml
:Describe the results you received:
Nothing printed.
Describe the results you expected:
foo
printed.Additional information you deem important (e.g. issue happens only occasionally):
docker-compoer
VAR
is passed and printed:docker compose exec
.Output of
docker version
:Output of
docker context show
:You can also run
docker context inspect context-name
to give us more details but don't forget to remove sensitive content.Output of
docker info
:Additional environment details (AWS ECS, Azure ACI, local, etc.):
The text was updated successfully, but these errors were encountered: