Workflow Compose Execute
Executes a command inside a running service container
Usage
Terminal
dxflow compose execute <IDENTITY> [OPTIONS] <SERVICE> <PATH> [--] [ARGS...]
Options
Flag | Shorthand | Description | Type | Default |
---|---|---|---|---|
--context | Docker context | string | `` | |
--detach | -d | Detach from the container | bool | false |
--env | -e | Environment variables of command | strings | [] |
--index | Index of the container in multiple replicas | int | 0 | |
--privileged | -p | Execute command in privileged mode | bool | false |
--user | -u | User to execute command as | string | `` |
--workdir | -w | Working directory of command | string | `` |