moby--moby/integration/daemon
Brian Goff 0a87dc9f71 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 17:36:16 +00:00
..
testdata
daemon_test.go Fix live-restore w/ restart policies + volume refs 2022-10-03 17:36:16 +00:00
main_test.go Fix live-restore w/ restart policies + volume refs 2022-10-03 17:36:16 +00:00