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

[Feature Request] Provide details when throwing errors #2127

Open
SetTrend opened this issue May 2, 2024 · 0 comments
Open

[Feature Request] Provide details when throwing errors #2127

SetTrend opened this issue May 2, 2024 · 0 comments

Comments

@SetTrend
Copy link

SetTrend commented May 2, 2024

Currently, when trying to launch my Windows Container from Docker, HCS just throws:

docker: Error response from daemon: container 46a5305c0e305a9b5e7ef5fd746478ea9211b61d136fc7a08b8e4468939514a7 encountered an error during hcs::System::CreateProcess: c:\windows\system32\cmd.exe: failure in a Windows system call: The user name or password is incorrect. (0x52e)
[Event Detail:  Provider: 00000000-0000-0000-0000-000000000000].

When I'm trying to mount a bind-mount to the same container, HCS just throws:

docker: Error response from daemon: hcs::CreateComputeSystem cf0c577360d731d6e09be5c1eec629751c3891eba85353163c0978cc0c293054: The request is not supported.

There is no context provided, no stack trace … nothing. So, it's impossible to research and find a remedy for the issue.

Please add a function to the HCS API providing details about the error thrown (parameters, stack trace etc.), so the Docker engine is able to output these. It will lower the amount of GitHub and StackOverflow issues and lower your burdon to handle these.

see these GitHub issues:

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

No branches or pull requests

1 participant