hyperhq / runv

Hypervisor-based Runtime for OCI
Apache License 2.0
828 stars 129 forks source link

`docker exec` will stuck when exit #527

Open WeiZhang555 opened 7 years ago

WeiZhang555 commented 7 years ago

Start a runv container with docker, then docker exec -ti xxx sh, after typing exit in sh, the client side will stuck. I have to use kill <docker exec pid> to stop the client.

I was trying to debug this, find that the docker-containerd-shim is stuck on waiting IO terminating. then I checked runv codes, and didn't find the problem, the IO channel seems closed correctly.

I've no idea how to fix this, so file an issue here. :)

WeiZhang555 commented 7 years ago

Sorry, this isn't fixed. Can you re-open this issue? @laijs

yyb196 commented 7 years ago

@WeiZhang555 could you please try this new pr. in my environment with docker-1.12.6 it works.