unikraft instances
unikraft instances exec
Execute a command on an instance which has the sandbox plugin loaded.
The environment given with --env is the whole environment the
command sees, not an addition to it.
Standard input is forwarded to the command only when it is redirected from a file or a pipe. Run from a terminal, the command sees an empty standard input and cannot be typed at.
Code
Examples
Execute a command on an instance:
Code
Execute a command in a specific working directory:
Code
Execute a command with environment variables set:
Code
Options
Code
Options inherited from parent commands
Code
See Also
unikraft instances: Manage Unikraft Cloud instances.
Last modified on