moby--moby/integration/container
Cory Snider 418c141e64
[20.10 backport] daemon: kill exec process on ctx cancel
Terminating the exec process when the context is canceled has been
broken since Docker v17.11 so nobody has been able to depend upon that
behaviour in five years of releases. We are thus free from backwards-
compatibility constraints.

conflicts:

- minor conflict in daemon/exec.go, as 2ec2b65e45
  is not in the 20.10 branch, so had to cast the signal to an int.
- minor conflict in daemon/health.go, where a comment was updated, which was
  added in bdc6473d2d, which is not in the
  20.10 branch
- remove the skip.If() from TestHealthCheckProcessKilled, as the 20.10 branch
  is not testing on Windows with containerd (and the RuntimeIsWindowsContainerd
  does not exist), but kept a "FIXME" comment.

Co-authored-by: Nicolas De Loof <nicolas.deloof@gmail.com>
Co-authored-by: Sebastiaan van Stijn <github@gone.nl>
Signed-off-by: Nicolas De Loof <nicolas.deloof@gmail.com>
Signed-off-by: Cory Snider <csnider@mirantis.com>
Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
(cherry picked from commit 4b84a33217)
Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
2022-08-23 22:30:01 +02:00
..
checkpoint_test.go unused: ignore false positives 2022-08-17 18:11:20 +02:00
container_test.go
copy_test.go
create_test.go
daemon_linux_test.go
daemon_test.go
diff_test.go
exec_test.go
export_test.go
health_test.go [20.10 backport] daemon: kill exec process on ctx cancel 2022-08-23 22:30:01 +02:00
inspect_test.go
ipcmode_linux_test.go
kill_test.go TestInspectOomKilledTrue: skip on cgroup v2 2021-02-16 09:22:27 +01:00
links_linux_test.go
logs_test.go
main_test.go
mounts_linux_test.go
nat_test.go integration: update getExternalAddress to prefer IPv4 2021-03-24 22:04:08 +01:00
pause_test.go
ps_test.go
remove_test.go
rename_test.go
resize_test.go
restart_test.go
run_cgroupns_linux_test.go
run_linux_test.go daemon.WithCommonOptions() fix detection of user-namespaces 2021-12-15 18:20:07 +09:00
stats_test.go
stop_linux_test.go
stop_test.go
stop_windows_test.go
update_linux_test.go
update_test.go
wait_test.go