mirror of
https://github.com/moby/moby.git
synced 2022-11-09 12:21:53 -05:00
fe1b4cfba6
Description: 1. start a container with restart=always. `docker run -d --restart=always ubuntu sleep 3` 2. container init process exits. 3. use `docker pause <id>` to pause this container. if the pause action is before cgroup data is removed and after the init process died. `Pause` operation will success to write cgroup data, but actually do not freeze any process. And then docker received pause event and stateExit event from containerd, the docker state will be Running(paused), but the container is free running. Then we can not remove it, stop it , pause it and unpause it. Signed-off-by: Wentao Zhang <zhangwentao234@huawei.com> |
||
---|---|---|
.. | ||
stream | ||
archive.go | ||
container.go | ||
container_linux.go | ||
container_notlinux.go | ||
container_unit_test.go | ||
container_unix.go | ||
container_windows.go | ||
env.go | ||
env_test.go | ||
health.go | ||
history.go | ||
memory_store.go | ||
memory_store_test.go | ||
monitor.go | ||
mounts_unix.go | ||
mounts_windows.go | ||
state.go | ||
state_solaris.go | ||
state_test.go | ||
state_unix.go | ||
state_windows.go | ||
store.go | ||
view.go | ||
view_test.go |