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

Container hangs if I hit two keys at the same time #934

Closed
ibechao opened this issue Jul 18, 2017 · 7 comments
Closed

Container hangs if I hit two keys at the same time #934

ibechao opened this issue Jul 18, 2017 · 7 comments

Comments

@ibechao
Copy link

ibechao commented Jul 18, 2017

Expected behavior

stay in shell

Actual behavior

shell hangs

Information

OS: Windows 10 Pro 10.0.15063
docker version:

Client:
Version: 17.06.0-ce
API version: 1.30
Go version: go1.8.3
Git commit: 02c1d87
Built: Fri Jun 23 21:30:30 2017
OS/Arch: windows/amd64

Server:
Version: 17.06.0-ce
API version: 1.30 (minimum version 1.12)
Go version: go1.8.3
Git commit: 02c1d87
Built: Fri Jun 23 21:51:55 2017
OS/Arch: linux/amd64
Experimental: true

Steps to reproduce the behavior

  1. from powershell prompt: docker run -it ubuntu:latest bash
  2. from container prompt: hit any two keys at the same time
  3. result -- doesn't respond to keystroks; must hit control-c to exit container
@jasonbivins
Copy link

hi @ibechao
I can reproduce this, so I'll go ahead and write it up as a bug. Do you mind if I go ahead and close this issue?

@ibechao
Copy link
Author

ibechao commented Jul 19, 2017 via email

@azenned
Copy link

azenned commented Dec 12, 2017

@ibechao @jasonbivins , why this issue is closed? is it fixed ?

@michaelkschmidt
Copy link

This issue seems to still be happening. The workaround for me as been to use "winpty". See #199 (comment)

@pgayvallet pgayvallet reopened this Mar 14, 2018
@docker-robott
Copy link
Collaborator

Issues go stale after 90d of inactivity.
Mark the issue as fresh with /remove-lifecycle stale comment.
Stale issues will be closed after an additional 30d of inactivity.

Prevent issues from auto-closing with an /lifecycle frozen comment.

If this issue is safe to close now please do so.

Send feedback to Docker Community Slack channels #docker-for-mac or #docker-for-windows.
/lifecycle stale

@Enigmatum
Copy link

Please reopen this, the issue is still happening in windows docker, 19.03.2 version.
It's very annoying. If I accidentally hit any two keys at the same time while in bash in a container, it exits the shell.

Client: Docker Engine - Community
Version: 19.03.2
API version: 1.40
Go version: go1.12.8
Git commit: 6a30dfc
Built: Thu Aug 29 05:26:49 2019
OS/Arch: windows/amd64
Experimental: false

@docker-robott
Copy link
Collaborator

Closed issues are locked after 30 days of inactivity.
This helps our team focus on active issues.

If you have found a problem that seems similar to this, please open a new issue.

Send feedback to Docker Community Slack channels #docker-for-mac or #docker-for-windows.
/lifecycle locked

@docker docker locked and limited conversation to collaborators Jun 23, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

7 participants