-
Notifications
You must be signed in to change notification settings - Fork 5.5k
Closed
Labels
Description
NOTE: this is different than the .env
file that is read by docker-compose commands and used for substitutions in the composition file... first mentioned here: #6170 (comment)
We generate an env file that we would like to include via the docker-compose run
command. e.g.
echo "FOO=bar" > vars.env
docker-compose run --env-file=vars.env --rm test-service
docker run
supports this flag and it would be great if we saw docker-compose run
maintain parity.
Is there planned support for this feature -- or will it be implemented in composev2 / "docker compose" ?
our generated vars file is cumbersome (with multiline values) and relatively complicated to convert to various -e FOO=bar
flags...
thanks!
nikegp, iamyojimbo, bottydim, benatkin, gabriel-vanca and 7 more