Skip to content

Command Execution

Run a command inside a runtime.

Terminal window
runta exec [OPTIONS] <VM_NAME> <COMMAND_AND_ARGS>...
OptionDescription
-i, --interactiveKeep stdin open for interactive input.
-t, --ttyAllocate a pseudo-TTY in the guest.
Terminal window
runta exec demo -- sh -lc 'echo hello from $(hostname)'
runta exec -it demo bash