mirror of
https://github.com/moby/moby.git
synced 2022-11-09 12:21:53 -05:00
7ae170ddab
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
|
||
---|---|---|
.. | ||
windowsoci | ||
client.go | ||
client_linux.go | ||
client_liverestore_linux.go | ||
client_shutdownrestore_linux.go | ||
client_windows.go | ||
container.go | ||
container_linux.go | ||
container_windows.go | ||
pausemonitor_linux.go | ||
process.go | ||
process_linux.go | ||
process_windows.go | ||
queue_linux.go | ||
remote.go | ||
remote_linux.go | ||
remote_windows.go | ||
types.go | ||
types_linux.go | ||
types_windows.go | ||
utils_linux.go | ||
utils_windows.go |