Skip to content

Command Execution

Run a command inside a runtime.

Terminal window
runta exec [OPTIONS] <runtime_name> <command_and_args>...
Option Description
-i, --interactive Keep stdin open for interactive input.
-t, --tty Allocate a pseudo-TTY in the guest.
Terminal window
runta exec demo -- sh -lc 'echo hello from $(hostname)'
runta exec -it demo bash