ct live exec
Execute a command in the live container.
Usage
ct live exec [OPTIONS] ARGS...
Arguments
| Argument | Type | Required |
|---|---|---|
ARGS... | text | Yes |
Options
| Option | Description |
|---|---|
-d, --dir TEXT | Dir to run command in (default: workdir set by container). |
-u, --user TEXT | User to run the command as (default: the environment agent_user which defaults to 'root'). |
-S, --sandbox TEXT | Sandbox slot to exec in (e.g. 'host' for docker_in_vm). [default: default] |
--context TEXT | Use active session by id (uses current active session if not specified). |
--help | Show this message and exit. |