Do not error out on lines containg spaces #6897
Closed
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This is a breaking change, instead of breaking workflows for existing users. I believe that at this point the spec needs to be adjusted to explicitly tell users that lines not conforming to the
VAR=VAL
syntax will be ignored.Should this behaviour turn out to be a huge problem then it can be changed again but with a deprecation notice and a spec change.
There is a feature request for a switch that would prevent docker-compose from reading
.env
but it only solves the problem ofI don't want docker-compose to use my .env file at all
(#6741). It's implemented in #6850.This merge request should be merged with docker/docs#9467 so that the spec reflects the actual behaviour.
Resolves #6511, #6838