You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Nov 27, 2023. It is now read-only.
When you specify --env-file filename.env for the new docker-compose and the env file contains just variable names without "=" afterwards, the docker-compose command fails with "Can't separate key from value"
Steps to reproduce the issue:
Create _docker.env file with this content in a directory where you have a docker-compose file:
VARIABLE
Run docker-compose up --env-file ${PATH}/_docker.env
Describe the results you received:
The command fails with Can't separate key from value error
Describe the results you expected:
It should not fail
If VARIABLE is not defined in host, it should not be present in the container
If VARIABLE is defined in host, it should be set in the container to the same value
Additional information you deem important (e.g. issue happens only occasionally):
Seems that adding = after the variable fixes the problem: