From 2dbef234dc45abe5a4bdc2394b16739ecd3069eb Mon Sep 17 00:00:00 2001 From: Nicolas De Loof Date: Mon, 5 May 2025 14:01:38 +0200 Subject: [PATCH] document behavior on missing extension Signed-off-by: Nicolas De Loof --- docs/extension.md | 2 ++ 1 file changed, 2 insertions(+) diff --git a/docs/extension.md b/docs/extension.md index 2ecae5e53..f4f15e521 100644 --- a/docs/extension.md +++ b/docs/extension.md @@ -26,6 +26,8 @@ the resource(s) needed to run a service. - Another Docker CLI plugin (typically, `model` to run `docker-model`) - An executable in user's `PATH` +If `provider.type` doesn't resolve into any of those, Compose will report an error and interrupt the `up` command. + To be a valid Compose extension, provider command *MUST* accept a `compose` command (which can be hidden) with subcommands `up` and `down`.