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

Invalid standard handle identifier: 4294967286 #1

Closed
d-sphinx opened this issue Feb 4, 2021 · 7 comments
Closed

Invalid standard handle identifier: 4294967286 #1

d-sphinx opened this issue Feb 4, 2021 · 7 comments

Comments

@d-sphinx
Copy link

d-sphinx commented Feb 4, 2021

20.10.3, clean install

`C:\Users\User>docker ps
panic: Invalid standard handle identifier: 4294967286

goroutine 1 [running]:
github.com/docker/cli/vendor/github.com/Azure/go-ansiterm/winterm.GetStdFile(0xf
ffffff6, 0xc00009c738, 0xb)
/go/src/github.com/docker/cli/vendor/github.com/Azure/go-ansiterm/winter
m/ansi.go:173 +0x1f3
github.com/docker/cli/vendor/github.com/moby/term/windows.NewAnsiReader(0xffffff
f6, 0xc00000000f, 0x20d5920)
/go/src/github.com/docker/cli/vendor/github.com/moby/term/windows/ansi_r
eader.go:34 +0x36
github.com/docker/cli/vendor/github.com/moby/term.StdStreams(0xc0002f61a0, 0xc00
04e5eb8, 0x1, 0x1, 0x0, 0x0)
/go/src/github.com/docker/cli/vendor/github.com/moby/term/term_windows.g
o:75 +0x1eb
github.com/docker/cli/cli/command.NewDockerCli(0x0, 0x0, 0x0, 0x19ba58c, 0x1b500
e0, 0xc000234180)
/go/src/github.com/docker/cli/cli/command/cli.go:473 +0x1a7
main.main()
/go/src/github.com/docker/cli/cmd/docker/docker.go:291 +0x4b`

@d-sphinx
Copy link
Author

d-sphinx commented Feb 4, 2021

image

@kaosagnt
Copy link
Owner

kaosagnt commented Feb 4, 2021

Seems to be a known issue.

docker/cli#2911

You might want to try the work around until the Docker people fix it.

docker/for-win#9770 (comment)

@d-sphinx
Copy link
Author

d-sphinx commented Feb 5, 2021

A workaround seems to be working only for Windows 10 and not Windows 7 (cause there is no such option 'Use legacy console').

Which is the latest version of toolbox2docker not introducing this bug?

@kaosagnt
Copy link
Owner

kaosagnt commented Feb 5, 2021

I'd say all of the 20.10 releases contain the bug.

Try https://github.com/kaosagnt/toolbox2docker/releases/tag/19.03.14

@abelcheung
Copy link

Encountering same issue on Windows 7. Other than downgrading docker, there is an alternative: execute docker.exe under Bash on Windows — either Git Bash or MingW Bash works fine. BTW I have just tried most current release (20.10.6), and can confirm issue is not fixed.

@kaosagnt
Copy link
Owner

Thanks for the latest test and your work around. Alas I fear the Docker people won't fix this unless enough people complain.

@kaosagnt kaosagnt pinned this issue May 27, 2023
@kaosagnt
Copy link
Owner

Pinning so people can find the work around. Closing.

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

3 participants