moby--moby/integration
Brian Goff 66ddb7f91c Fix live-restore w/ restart policies + volume refs
Before this change restarting the daemon in live-restore with running
containers + a restart policy meant that volume refs were not restored.
This specifically happens when the container is still running *and*
there is a restart policy that would make sure the container was running
again on restart.

The bug allows volumes to be removed even though containers are
referencing them. 😱

Signed-off-by: Brian Goff <cpuguy83@gmail.com>
(cherry picked from commit 4c0e0979b4)
Signed-off-by: Brian Goff <cpuguy83@gmail.com>
2022-10-03 18:41:34 +00:00
..
build Dockerfile: Update Dockerfile syntax, switch to bullseye, add missing libseccomp-dev, remove build pack 2022-09-20 16:18:21 +05:30
config integration/config: add check for removing non-existing config 2020-04-14 18:31:38 +02:00
container [20.10 backport] daemon: kill exec process on ctx cancel 2022-08-23 22:30:01 +02:00
daemon Fix live-restore w/ restart policies + volume refs 2022-10-03 18:41:34 +00:00
distribution bump gotest.tools v3.0.1 for compatibility with Go 1.14 2020-02-11 00:06:42 +01:00
image Update to Go 1.17.0, and gofmt with Go 1.17 2022-04-07 23:27:50 +02:00
internal reformat "nolint" comments 2022-08-17 18:12:14 +02:00
network unused: ignore false positives 2022-08-17 18:11:20 +02:00
plugin gosimple: S1039: unnecessary use of fmt.Sprintf 2022-08-17 18:10:32 +02:00
secret integration/secret: add check for empty list not producing an error 2020-04-14 18:31:36 +02:00
service Fix race in TestCreateServiceSecretFileMode, TestCreateServiceConfigFileMode 2021-10-27 12:30:35 +02:00
session bump gotest.tools v3.0.1 for compatibility with Go 1.14 2020-02-11 00:06:42 +01:00
system Update to Go 1.17.0, and gofmt with Go 1.17 2022-04-07 23:27:50 +02:00
testdata/https Update test certificates 2021-07-15 22:24:21 +02:00
volume Windows: Enable more integration tests 2020-09-20 22:09:27 +03:00
doc.go Add canonical import comment 2018-02-05 16:51:57 -05:00