Zudoku
unikraft

unikraft

The Unikraft Command-Line Interface.

Code
unikraft <command> [flags]

Examples

Login to Unikraft Cloud:

TerminalCode
unikraft login

List instances across metros:

TerminalCode
unikraft instances list

Build and publish an image from a Kraftfile:

TerminalCode
unikraft image build . --output my-org/my-app:latest

Deploy a new instance from an image:

TerminalCode
unikraft run --metro=sfo --image=nginx:latest --autostart -p 443:8080/http+tls --scale-to-zero policy=on

Switch to a different profile:

TerminalCode
unikraft profile use my-other-profile

Options

Code
--config file Path to the configuration file. --log-level level Set the logging level. (default info) --log-type type Set the log type. (default text) --profile name Set the current profile. --telemetry Toggle usage analytics. (default true) --timeout duration Set a deadline for the command (e.g. 30s, 5m, 1h).

See Also

Last modified on