87f6d1f04684a2050ed7ab9154970b4d4fac1193
docker run -i --restart always hangs.
e.g. ``` $ docker run -i --restart always busybox sh pwd / exit 11 <...hang...> ``` This is because Attach(daemon side) and Run(client side) both hangs on WaitStop, if container is restarted too quickly, wait won't have chance to get exit signal. Signed-off-by: Zhang Wei <zhangwei555@huawei.com> Upstream-commit: c498d4700df8216ccefd6d2f03b5ebe6d6e9fd47 Component: engine
Description
No description provided
Languages
Go
92%
Shell
5.5%
Dockerfile
1.1%
Go-Checksums
0.9%
Makefile
0.3%
Other
0.2%