docs icon indicating copy to clipboard operation
docs copied to clipboard

Add information about including compose as OCI artifacts

Open scraly opened this issue 5 months ago • 4 comments
trafficstars

Is this a docs issue?

  • [x] My issue is about the documentation content or website

Type of issue

I can't find what I'm looking for

Description

CC https://github.com/docker/compose/pull/10949#issuecomment-1935870462

Location

https://docs.docker.com/compose/how-tos/multiple-compose-files/include/

Suggestion

If we now can include compose files in OCI artifacts:

include: - oci:<registry>/<repo>:<tag>

I think it should be documented

scraly avatar Jun 21 '25 13:06 scraly

Hi @scraly, this is documented here https://docs.docker.com/compose/how-tos/oci-artifact/

aevesdocker avatar Jun 23 '25 07:06 aevesdocker

Sorry but I already saw the documentation but can't find what I am asking for:

An example of a docker compose file with "include" statement pointing to an OCI artifact containing a compose file 🙂

The goal is to know HOW to use in include, the OCI artifact we pushed.

scraly avatar Jun 23 '25 10:06 scraly

@aevesdocker I think this is a valide request, if you want I can create a PR to add an example

glours avatar Jun 23 '25 12:06 glours

Having re-read with fresh eyes, I can see this is missing from docs! Apologies @scraly. As soon as you have that PR @glours I can get it approved and merged, thank you

aevesdocker avatar Jun 23 '25 13:06 aevesdocker

Thanks :)

scraly avatar Jul 01 '25 16:07 scraly