Skip to content

docker exec hang #6154

@bergwolf

Description

@bergwolf

Reported by Jim Carroll from Mirantis:

terminal 1:
docker run --rm -it --name katatest --runtime io.containerd.kata.v2 alpine
terminal 2:
docker exec -it katatest /bin/sh
everything seems fine.
Until I try to exit the exec session, at which point the following happens:

  • the exec’d session hangs (tty is effectively frozen)
  • the original docker run session exits
  • docker ps shows that no containers are running

I have to kill the exec command still hung in terminal 2 to regain control of that lost soul

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugIncorrect behaviourneeds-reviewNeeds to be assessed by the team.

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions