Skip to content

Runtime Commands

Create a new runtime.

Terminal window
runta run [OPTIONS] --cpus <N> --memory <MIB>
OptionDescription
--name <NAME>Runtime name. If omitted, runta generates a random name.
--cpus <N>Number of vCPUs. Required.
--memory <MIB>Memory in MiB. Required.
-p, --publish <SPEC>Repeatable ingress rule in <port>/http or <port>/https form.
--idle-timeout <SECS>Suspend the runtime after this many seconds without observed activity. Omit to disable.
Terminal window
runta run --name demo --cpus 2 --memory 2048
runta run --name web --cpus 2 --memory 2048 --publish 8080/https
runta run --name idle-web --cpus 1 --memory 512 --publish 8080/https --idle-timeout 300

List runtimes.

Terminal window
runta ps [OPTIONS]
OptionDescription
-a, --allShow all runtimes, including unreachable ones.

Show detailed information for a runtime.

Terminal window
runta inspect <VM_NAME>
Terminal window
runta shutdown <VM_NAME>
runta boot <VM_NAME>
runta pause <VM_NAME>
runta resume <VM_NAME>
runta rm <VM_NAMES>...

Resize runtime memory.

Terminal window
runta resize --memory <MIB> <VM_NAME>
OptionDescription
--memory <MIB>New memory size in MiB. Required.