Add --annotation option to 'docker compose publish'
Nobody has claimed this yet.
- Dominant language
- Go
- Stars
- 38.2k
- Forks
- 5.8k
- Avg merge
- 2d 14h
- Merged PRs (30d)
- 55
Description
Description
docker compose publish supports the options described here.
I would suggest adding the option --annotation like the build of an image.
I see that the manifest of a published docker-compose.yml has
"annotations": {
"org.opencontainers.image.created": "2026-04-14T14:04:34Z"
}
but I would like the possiiblity to add custom vnd.xxxx annotations to the manifest while publishing docker-compose.yml
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start with docs/reference/compose_publish.md and the existing docker compose publish command entry point. Trace how publish options are defined and passed to the image manifest, then verify that a custom --annotation value is accepted and appears on the published manifest; add or update focused tests if the existing command tests cover this path.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- docker, docker-compose, go
- Domain
- cli
- Issue type
- Feature
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Quiet
- Clarity
- Mostly clear
- Newbie friendliness
- 56/100