mirror of
https://github.com/docker/compose.git
synced 2026-11-17 21:57:19 +00:00
extension.md gains the Image distribution section: invocation contract (--image/--digest/--created/--source/--policy), the get-image request and its chunked image-stream answer (zero-chunk terminated, stdin exclusivity and drain-before-next-answer contract), the two-branch decision guidance (digest as identity, created as ordering fallback, reproducible builds caveat), and the support-by-presence metadata convention is now stated as the general rule. The example provider implements pull end to end — request, stock chunked reader, hash recorded at PROVIDER_PULL_MARKER — and the e2e scenario locks the whole path: up builds the service image and streams it to the provider under the local verdict, compose pull re-invokes it under the freshness contract. Signed-off-by: Nicolas De Loof <nicolas.deloof@gmail.com>
9 lines
141 B
YAML
9 lines
141 B
YAML
services:
|
|
db:
|
|
build:
|
|
context: .
|
|
provider:
|
|
type: example-provider
|
|
options:
|
|
type: mysql
|
|
name: myDB
|