CmdID / docker / docker compose
docker compose publish
Publish compose application Docker Compose reference
6 options Its page in the Docker Compose reference
Options
--appPublished compose application (includes referenced images)--dry-runExecute command in dry run mode--oci-versionOCI image/artifact specification version (automatically determined by default)--resolve-image-digestsPin image tags to digests--with-envInclude environment variables in the published OCI artifact--yes, -yAssume "yes" as answer to all prompts