1
0
Fork 0
mirror of https://github.com/moby/moby.git synced 2022-11-09 12:21:53 -05:00
moby--moby/libcontainerd
Zhang Wei a705e166cf 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>
2016-04-08 22:02:30 +08:00
..
windowsoci Windows: Remove TP4 support from main code 2016-04-06 12:12:20 -07:00
client.go libcontainerd: reuse our pkg/locker 2016-03-29 09:43:12 -07:00
client_linux.go Fix critical bug: can't restart a restarting container 2016-04-08 22:02:30 +08:00
client_liverestore_linux.go Fix typo 2016-04-07 12:46:55 +08:00
client_shutdownrestore_linux.go Fix container mount cleanup issues 2016-03-30 17:25:49 -07:00
client_windows.go Merge pull request #21733 from Microsoft/sjw/updatepending 2016-04-06 15:36:39 -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-08 22:02:30 +08:00
container_windows.go Adding postRunProcessing infrastructure for hanlding Windows Update. 2016-04-06 14:03:05 -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 Fix misspellings 2016-03-28 16:21:02 +03:00
remote_linux.go Clear nofity socket from containerd env 2016-04-01 11:02:14 -07:00
remote_windows.go libcontainerd: reuse our pkg/locker 2016-03-29 09:43:12 -07:00
types.go Adding postRunProcessing infrastructure for hanlding Windows Update. 2016-04-06 14:03:05 -07:00
types_linux.go Adding postRunProcessing infrastructure for hanlding Windows Update. 2016-04-06 14:03:05 -07:00
types_windows.go Adding postRunProcessing infrastructure for hanlding Windows Update. 2016-04-06 14:03:05 -07:00
utils_linux.go Add ulimit support to libcontainerd addprocess 2016-03-23 19:54:32 -07:00
utils_windows.go Windows libcontainerd implementation 2016-03-18 13:38:41 -07:00