compose.yaml 219 B

12345678910
  1. services:
  2. with_image:
  3. image: alpine
  4. command: "ls -al /mnt/image"
  5. volumes:
  6. - type: image
  7. source: nginx:alpine
  8. target: /mnt/image
  9. image:
  10. subpath: usr/share/nginx/html/