Skip to content

docs: note that env-file keeps surrounding quotes - #25799

Open
locker95 wants to merge 1 commit into
docker:mainfrom
locker95:docs/env-file-quotes
Open

docs: note that env-file keeps surrounding quotes#25799
locker95 wants to merge 1 commit into
docker:mainfrom
locker95:docs/env-file-quotes

Conversation

@locker95

Copy link
Copy Markdown
Contributor

--env-file treats values as-is, so shell-style double quotes stay in the value. That surprises people who also source the same file on the host.

Documented it next to the env-file format notes, with a short workaround.

Related to docker/cli#3630

Call out that --env-file does not strip shell-style quotes, unlike
sourceing a file in bash.

Related to docker/cli#3630

Signed-off-by: Dean Chen <862469039@qq.com>
@netlify

netlify Bot commented Aug 12, 2026

Copy link
Copy Markdown

Deploy Preview for docsdocker ready!

Name Link
🔨 Latest commit fe210bb
🔍 Latest deploy log https://app.netlify.com/projects/docsdocker/deploys/6a7bbe00fa887d0008cd5b8c
😎 Deploy Preview https://deploy-preview-25799--docsdocker.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify project configuration.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant