mirror of
https://github.com/docker/compose.git
synced 2026-10-12 02:13:08 +00:00
Regression test for #14005, pulled-image scenario: with the source image of a type=image volume already present in the local store, compose used to rewrite the mount source to a digest the daemon can't resolve as a mount source under the containerd image store (No such image). TestImageVolume only exercises this path when a previous test happens to have left the image locally; pre-pulling makes it deterministic. Also asserts a second unchanged up doesn't recreate the service. The test fails on main under the containerd image store and passes with the fix from #14011. Signed-off-by: Nicolas De Loof <[email protected]>