Workflow Compose Execute

Executes a command inside a running service container

Usage

Terminal
dxflow compose execute <IDENTITY> [OPTIONS] <SERVICE> <PATH> [--] [ARGS...]

Options

FlagShorthandDescriptionTypeDefault
--contextDocker contextstring``
--detach-dDetach from the containerboolfalse
--env-eEnvironment variables of commandstrings[]
--indexIndex of the container in multiple replicasint0
--privileged-pExecute command in privileged modeboolfalse
--user-uUser to execute command asstring``
--workdir-wWorking directory of commandstring``