From 7e8bbd742752384c21192b6c101a6e1ee43945ca Mon Sep 17 00:00:00 2001 From: Antoine Cotten Date: Mon, 28 Feb 2022 10:34:06 +0100 Subject: [PATCH] Fix outdated syntax rule about handling of quotes in '.env' files Since Compose 1.26.0 (https://docs.docker.com/compose/release-notes/#1260), this information doesn't seem to be true anymore. Surrounding quotes are effectively removed from the value, like in a shell. --- compose/env-file.md | 2 -- 1 file changed, 2 deletions(-) diff --git a/compose/env-file.md b/compose/env-file.md index 2e44989926eb..38bad619ce81 100644 --- a/compose/env-file.md +++ b/compose/env-file.md @@ -25,8 +25,6 @@ The following syntax rules apply to the `.env` file: - Compose expects each line in an `env` file to be in `VAR=VAL` format. - Lines beginning with `#` are processed as comments and ignored. - Blank lines are ignored. -- There is no special handling of quotation marks. This means that - **they are part of the VAL**. ## Compose file and CLI variables