Skip to content

Feature request: Add necessary support for new functionality(introduce volume.type=image) from compose-spec #4767

Description

@KristoferHansson

What is the problem you're trying to solve

This is a feature request for adding necessary support in nerdctl for new additions to the compose spec related to
OCI image/artifact volume mount

Compose spec commit:
"introduce volume.type=image"
compose-spec/compose-spec@40af7cd

merged docker compose pull request supporting the above compose feature addition
docker/compose#12725

closed podman-compose issue and referenced merged pull request for supporting the above compose feature addition
containers/podman-compose#1202

/Kristofer

Activity

  1. changed the title [-]Add necessary support for new functionality(image volume was introduced in v2.35.0) from compose-spec[/-] [+]Feature request: Add necessary support for new functionality(introduce volume.type=image) from compose-spec[/+] on Mar 3, 2026
  2. KristoferHansson commented on Mar 20, 2026

    @KristoferHansson
    Author

    Apparently OCI Artifact volume mount support is not as wide spread as OCI image volume mount.
    talked about in: containerd/containerd#11381
    CRI-O has added basic OCI Artifact volume mount support, utilizing the same type: mount.image as for OCI Image, the runtime investigates the details of the pulled OCI and handles it accordingly: cri-o/cri-o#8953
    KEP-4639 talks about OCI Objects as a term including both OCI Images and OCI Artifacts: kubernetes/enhancements#4639 and feature now GA: kubernetes/kubernetes#136711

  3. papidb commented on Aug 17, 2026

    @papidb
    Contributor

    Hi, I’d like to work on this. nerdctl run --mount type=image landed in #4990, while image-subpath support is currently in #4993. My plan is to translate Compose image volumes into --mount type=image,... arguments in serviceparser, support image.subpath, and add unit and integration tests. Would you prefer that I prepare this as a stacked change on #4993, or wait until #4993 is merged?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions