runv icon indicating copy to clipboard operation
runv copied to clipboard

`docker exec` will stuck when exit

Open WeiZhang555 opened this issue 8 years ago • 2 comments

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 avatar Jul 06 '17 08:07 WeiZhang555

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

WeiZhang555 avatar Jul 27 '17 11:07 WeiZhang555

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

yyb196 avatar Jul 30 '17 13:07 yyb196