mirror of
https://github.com/docker/compose.git
synced 2026-02-09 01:59:22 +08:00
seach for provider binary in PATH
Signed-off-by: Nicolas De Loof <nicolas.deloof@gmail.com>
This commit is contained in:
committed by
Nicolas De loof
parent
cee6a3c660
commit
20f0ffec0b
@@ -26,13 +26,13 @@ the resource(s) needed to run a service.
|
||||
- Another Docker CLI plugin (typically, `model` to run `docker-model`)
|
||||
- An executable in user's `PATH`
|
||||
|
||||
To be a valid Compose extension, provider command *MUST* accept subcommand `compose` (which can be hidden)
|
||||
To be a valid Compose extension, provider command *MUST* accept a `compose` command (which can be hidden)
|
||||
with subcommands `up` and `down`.
|
||||
|
||||
## Up lifecycle
|
||||
|
||||
To execute an application's `up` lifecycle, Compose executes the provider's `compose up` command, passing
|
||||
the project name, service name and additional options. The `provider.options` are translated
|
||||
the project name, service name, and additional options. The `provider.options` are translated
|
||||
into command line flags. For example:
|
||||
```console
|
||||
awesomecloud compose --project-name <NAME> up --type=mysql --size=256 "database"
|
||||
|
||||
Reference in New Issue
Block a user