Skip to content

dicer kernel import

Imports a kernel that instances can boot. FILE is a kernel on this machine, of up to 512 MiB. It is sent to the daemon, and the command returns once the kernel is on the daemon’s host. If --sha256 is given, the kernel is checked against it. An instance that names no kernel boots the default kernel, which needs no import.

Usage

$ dicer kernel import NAME FILE [flags]

Examples

$ dicer kernel import k6 ./vmlinux --arch x86_64

Flags

FlagDescription
--arch stringKernel architecture, e.g. x86_64 (required).
--sha256 stringExpected SHA-256 of the kernel, hex-encoded.

Global flags

FlagDescription
-D, --debugTrace every call to the daemon on stderr (or set $DICER_DEBUG).
-r, --remote stringDaemon to talk to: a remote’s name, or an address (unix:///PATH or HOST:PORT) (default $DICER_REMOTE, then the current remote, then local).
--request-timeout durationGive up on a single call to the daemon after this long, e.g. 30s (0: never; streams such as logs -f and exec are not bounded).