nerdctl compose supports image volumes
When a Compose service needs to mount an image, set its volume `type` to `image` and specify the image reference and mount target. Run `nerdctl compose up` to create and start the project.
services:
<SERVICE>:
volumes:
- type: image
source: <IMAGE_REFERENCE>
target: <CONTAINER_PATH>
# From the Compose project directory:
nerdctl compose up