Command Execution
runta exec
Section titled “runta exec”Run a command inside a runtime.
runta exec [OPTIONS] <VM_NAME> <COMMAND_AND_ARGS>...| Option | Description |
|---|---|
-i, --interactive | Keep stdin open for interactive input. |
-t, --tty | Allocate a pseudo-TTY in the guest. |
runta exec demo -- sh -lc 'echo hello from $(hostname)'runta exec -it demo bash