Skip to content

dockerpty.start doesn't return after detaching container #63

@plehong

Description

@plehong

I'm trying to run an interactive shell in a docker container, but dockerpty.start doesn't return when I detach the container using C-p C-q.

On RedHat 7.2, it remains stuck in the _hijack_tty method.
On Ubuntu 14.4, I get an exception if I continue to enter some keystrokes.

Attached file contains the test program and the traceback on Ubuntu, Docker version 1.10.1.

Test.zip

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions