Skip to content

feat: support compose image volumes - #5161

Open
papidb wants to merge 1 commit into
containerd:mainfrom
papidb:feat/support-image-volumes
Open

feat: support compose image volumes#5161
papidb wants to merge 1 commit into
containerd:mainfrom
papidb:feat/support-image-volumes

Conversation

@papidb

@papidb papidb commented Aug 25, 2026

Copy link
Copy Markdown
Contributor

Support Compose long-syntax image volumes by translating them to the existing --mount=type=image implementation.

The Compose path now resolves image sources that reference active or disabled services, ensures missing mount-source images before the child command runs with --pull=never, and validates image-specific options before project resources are created. Image mounts remain read-only.

image.subpath was intentionally left alone until the lower-level support in #4993 is available.

Tests cover external and service-referenced sources, source pulling, read-only behavior, malformed definitions, mount-field injection, unchanged legacy volume arguments, and cleanup.

Related to #4767.

Signed-off-by: Daniel Benjamin <benjamindaniel706@gmail.com>
@AkihiroSuda AkihiroSuda added this to the v2.4.0 milestone Aug 25, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants