Skip to content
This repository was archived by the owner on Oct 13, 2023. It is now read-only.

[19.03 backport] Improve readability of Windows connect error#344

Merged
thaJeztah merged 1 commit intodocker-archive:19.03from
thaJeztah:19.03_backport_DESKTOP_1286_win_admin_error_readability
Sep 9, 2019
Merged

[19.03 backport] Improve readability of Windows connect error#344
thaJeztah merged 1 commit intodocker-archive:19.03from
thaJeztah:19.03_backport_DESKTOP_1286_win_admin_error_readability

Conversation

@thaJeztah
Copy link
Copy Markdown
Member

@thaJeztah thaJeztah commented Aug 30, 2019

backport of moby#39588
addresses DESKTOP-1286

Improve the readability of the connection error displayed to the user on
Windows when running docker commands fails by checking if the client is
privileged. If so then display the actual error wrapped in a generic
error "This error may indicate that the docker daemon is not running."

If not that display the actual error wrapped in a more specific error:
"In the default daemon configuration on Windows, the docker client must
be run with elevated privileges to connect."

@thaJeztah thaJeztah added this to the 19.03.2 milestone Aug 30, 2019
Copy link
Copy Markdown

@mat007 mat007 left a comment

Choose a reason for hiding this comment

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

Thanks!

@thaJeztah thaJeztah modified the milestones: 19.03.2, 19.03.3 Aug 30, 2019
Improve the readability of the connection error displayed to the user on
Windows when running docker commands fails by checking if the client is
privileged. If so then display the actual error wrapped in a generic
error "This error may indicate that the docker daemon is not running."

If not that display the actual error wrapped in a more specific error:
"In the default daemon configuration on Windows, the docker client must
be run with elevated privileges to connect."

Signed-off-by: Nick Adcock <nick.adcock@docker.com>
(cherry picked from commit 1a5dafb)
Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
@thaJeztah thaJeztah force-pushed the 19.03_backport_DESKTOP_1286_win_admin_error_readability branch from bccbbb8 to 239ac23 Compare September 6, 2019 21:09
@thaJeztah
Copy link
Copy Markdown
Member Author

all green; merging

@thaJeztah thaJeztah merged commit 9cc467c into docker-archive:19.03 Sep 9, 2019
@thaJeztah thaJeztah deleted the 19.03_backport_DESKTOP_1286_win_admin_error_readability branch September 9, 2019 22:54
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants