moby--moby/libcontainerd
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
..
windowsoci Windows: libcontainerd cleanup 2016-03-18 20:31:11 -07:00
client.go libcontainerd: reuse our pkg/locker 2016-03-31 18:35:03 -04:00
client_linux.go Fix critical bug: can't restart a restarting container 2016-04-11 11:19:58 -04:00
client_liverestore_linux.go Replace execdrivers with containerd implementation 2016-03-18 13:38:32 -07:00
client_shutdownrestore_linux.go Fix container mount cleanup issues 2016-03-31 18:35:37 -04:00
client_windows.go Windows: Minimal docker top implementation 2016-03-20 16:45:53 -07:00
container.go Replace execdrivers with containerd implementation 2016-03-18 13:38:32 -07:00
container_linux.go Fix critical bug: can't restart a restarting container 2016-04-11 11:19:58 -04:00
container_windows.go Windows libcontainerd implementation 2016-03-18 13:38:41 -07:00
pausemonitor_linux.go Replace execdrivers with containerd implementation 2016-03-18 13:38:32 -07:00
process.go Replace execdrivers with containerd implementation 2016-03-18 13:38:32 -07:00
process_linux.go Replace execdrivers with containerd implementation 2016-03-18 13:38:32 -07:00
process_windows.go Windows: Minimal docker top implementation 2016-03-20 16:45:53 -07:00
queue_linux.go Replace execdrivers with containerd implementation 2016-03-18 13:38:32 -07:00
remote.go Replace execdrivers with containerd implementation 2016-03-18 13:38:32 -07:00
remote_linux.go Clear nofity socket from containerd env 2016-04-01 14:18:33 -04:00
remote_windows.go libcontainerd: reuse our pkg/locker 2016-03-31 18:35:03 -04:00
types.go Windows: Minimal docker top implementation 2016-03-20 16:45:53 -07:00
types_linux.go Windows: Minimal docker top implementation 2016-03-20 16:45:53 -07:00
types_windows.go Windows: Minimal docker top implementation 2016-03-20 16:45:53 -07:00
utils_linux.go Add ulimit support to libcontainerd addprocess 2016-03-25 13:43:06 -04:00
utils_windows.go Windows libcontainerd implementation 2016-03-18 13:38:41 -07:00