moby/restartmanager
Zhang Wei 7ae170ddab Fix critical bug: can't restart a restarting container
When user try to restart a restarting container, docker client report
error: "container is already active", and container will be stopped
instead be restarted which is seriously wrong.

What's more critical is that when user try to start this container
again, it will always fail.

This error can also be reproduced with a `docker stop`+`docker start`.

And this commit will fix the bug.

Signed-off-by: Zhang Wei <zhangwei555@huawei.com>
(cherry picked from commit a705e166cf)
2016-04-11 11:19:58 -04:00
..
restartmanager.go Fix critical bug: can't restart a restarting container 2016-04-11 11:19:58 -04:00
restartmanager_test.go Replace execdrivers with containerd implementation 2016-03-18 13:38:32 -07:00