Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

commands: consume DEBUG environment variable #1821

Merged
merged 1 commit into from
Aug 7, 2023

Conversation

jedevc
Copy link
Collaborator

@jedevc jedevc commented May 22, 2023

When running in standalone mode, the --debug flag passed to docker cannot be passed. The docker cli also supports a DEBUG env var, however, in standalone mode this won't be consumed.

This patch reads the contents of the DEBUG environment variable and enables debugging logs when it's been set.

When running in standalone mode, the --debug flag passed to docker
cannot be passed. The docker cli also supports a DEBUG env var, however,
in standalone mode this won't be consumed.

This patch reads the contents of the DEBUG environment variable, and
enables debugging logs when it's been set.

Signed-off-by: Justin Chadwell <me@jedevc.com>
Copy link
Member

@thaJeztah thaJeztah left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

SGTM

@crazy-max crazy-max merged commit 6b5758f into docker:master Aug 7, 2023
57 checks passed
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.

None yet

3 participants