Skip to content

decorate --env-file, --label-file errors - #6972

Merged
vvoland merged 1 commit into
docker:masterfrom
thaJeztah:decorate_env_file_error
May 11, 2026
Merged

decorate --env-file, --label-file errors#6972
vvoland merged 1 commit into
docker:masterfrom
thaJeztah:decorate_env_file_error

Conversation

@thaJeztah

Copy link
Copy Markdown
Member

Before:

docker run --rm --env-file=./no-such-file alpine
docker: open ./no-such-file: no such file or directory

Run 'docker run --help' for more information

After:

docker run --rm --env-file=./no-such-file alpine
docker: --env-file: open ./no-such-file: no such file or directory

Run 'docker run --help' for more information

- What I did

- How I did it

- How to verify it

- Human readable description for the release notes

- A picture of a cute animal (not mandatory but encouraged)

Before:

    docker run --rm --env-file=./no-such-file alpine
    docker: open ./no-such-file: no such file or directory

    Run 'docker run --help' for more information

After:

    docker run --rm --env-file=./no-such-file alpine
    docker: --env-file: open ./no-such-file: no such file or directory

    Run 'docker run --help' for more information

Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
@thaJeztah
thaJeztah force-pushed the decorate_env_file_error branch from a3335af to 27bee79 Compare May 11, 2026 08:19
@codecov-commenter

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.

📢 Thoughts on this report? Let us know!

@thaJeztah thaJeztah changed the title decorate --env-file error May 11, 2026
@vvoland
vvoland merged commit ba93f0d into docker:master May 11, 2026
97 checks passed
@thaJeztah
thaJeztah deleted the decorate_env_file_error branch May 11, 2026 12:10
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment