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
[Feature Request} Improve error messages #47785
Comments
Thanks for reporting. Yes, these errors on Windows are not (erm) ideal. Unfortunately, I'm not sure how much we can do for these. Looking at the examples from microsoft/Windows-Containers#490 ;
And
Both of these errors originate from the Microsoft hcsshim SDK, and only part of the error comes from the SDK itself; the actual error comes from the Windows kernel (which is proprietary, and effectively a black box). moby/vendor/github.com/Microsoft/hcsshim/internal/hcs/system.go Lines 58 to 59 in 9d07820
moby/vendor/github.com/Microsoft/hcsshim/errors.go Lines 114 to 123 in 9d07820
Unfortunately this often means that docker engine called the Windows kernel API (through their SDK), and "something went wrong"; the underlying error may not (often is not) known to the Docker Engine, so the only thing we can provide in this case is to print all the error information we received. |
Thanks so much for your very informative reply! So, from your response I understand that the root of this issue isn't based in this repository but in the I couldn't find the definition of |
Description
Currently, Docker engine or Docker daemon error messages are utterly poor and taciturn.
They don't provide any sort of context, stack trace or any other kind of helpful information, assisting in trying to remedy the reported issue.
Please, improve Docker error reporting drastically. It will lower the amount of GitHub and StackOverflow issues and lower your burdon to handle these.
Ref:
USER ContainerUser
results in "failure in a Windows system call: The user name or password is incorrect. (0x52e)" microsoft/Windows-Containers#490The text was updated successfully, but these errors were encountered: