moby/integration
Sebastiaan van Stijn e578b2510a
don't cancel container stop when cancelling context
Commit 90de570cfa passed through the request
context to daemon.ContainerStop(). As a result, cancelling the context would
cancel the "graceful" stop of the container, and would proceed with forcefully
killing the container.

This patch partially reverts the changes from 90de570cfa
and breaks the context to prevent cancelling the context from cancelling the stop.

Signed-off-by: Sebastiaan van Stijn <github@gone.nl>

Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
(cherry picked from commit fc94ed0a86)
Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
2023-06-20 23:43:43 +02:00
..
build Fix loop-closure bugs in tests 2023-02-22 12:26:38 -05:00
config integration: fix empty-lines (revive) 2022-09-30 23:59:30 +02:00
container don't cancel container stop when cancelling context 2023-06-20 23:43:43 +02:00
daemon daemon: set docker0 subpool as the IPAM pool 2023-04-26 11:38:55 +02:00
distribution bump gotest.tools v3.0.1 for compatibility with Go 1.14 2020-02-11 00:06:42 +01:00
image skip TestImagePullStoredfDigestForOtherRepo() on Windows and rootless 2022-10-21 01:50:09 +02:00
internal Fix pruning anon volume created from image config 2023-03-14 16:11:09 +01:00
network integration: fix empty-lines (revive) 2022-09-30 23:59:30 +02:00
plugin integration/plugin: remove deprecated overlay2.override_kernel_check 2022-10-10 15:00:29 +02:00
secret integration: fix empty-lines (revive) 2022-09-30 23:59:30 +02:00
service integration: fix empty-lines (revive) 2022-09-30 23:59:30 +02:00
session bump gotest.tools v3.0.1 for compatibility with Go 1.14 2020-02-11 00:06:42 +01:00
system integration: fix empty-lines (revive) 2022-09-30 23:59:30 +02:00
testdata/https Update test certificates 2021-05-18 09:43:21 +02:00
volume Fix pruning anon volume created from image config 2023-03-14 16:11:09 +01:00
doc.go Add canonical import comment 2018-02-05 16:51:57 -05:00