Specify that the first container is used for vm.cli.exec when multi container extension (#15302)

This commit is contained in:
Benjamin Grandfond 2022-08-04 10:07:23 +02:00 committed by GitHub
parent 4231acfd40
commit c6a826ec5b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 5 additions and 0 deletions

View File

@ -25,6 +25,11 @@ await ddClient.extension.vm.cli.exec(
Streams the output of the command executed in the backend container.
When the extension defines its own `docker-compose.yaml` file
with multiple containers, the command is executed on the first container defined.
Change the order in which containers are defined to execute commands on another
container.
Example: Spawn the command `ls -l` inside the **backend container**:
```typescript