mirror of https://github.com/docker/docs.git
container.Kill() might read a pid of 0 from container.State.Pid due to losing a race with container.monitor() calling container.State.SetStopped(). Sending a SIGKILL to pid 0 is undesirable as "If pid equals 0, then sig is sent to every process in the process group of the calling process." Docker-DCO-1.1-Signed-off-by: Daniel Norberg <daniel.norberg@gmail.com> (github: danielnorberg) |
||
---|---|---|
.. | ||
execdriver | ||
graphdriver | ||
networkdriver | ||
container.go | ||
container_unit_test.go | ||
daemon.go | ||
daemon_aufs.go | ||
daemon_btrfs.go | ||
daemon_devicemapper.go | ||
daemon_no_aufs.go | ||
history.go | ||
network_settings.go | ||
server.go | ||
sorter.go | ||
state.go | ||
utils.go | ||
utils_test.go | ||
volumes.go |