mirror of https://github.com/docker/docs.git
Specify that the first container is used for vm.cli.exec when multi container extension (#15302)
This commit is contained in:
parent
4231acfd40
commit
c6a826ec5b
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue