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
| Flag | Description |
|---|---|
--arch string | Kernel architecture, e.g. x86_64 (required). |
--sha256 string | Expected SHA-256 of the kernel, hex-encoded. |
Global flags
| Flag | Description |
|---|---|
-D, --debug | Trace every call to the daemon on stderr (or set $DICER_DEBUG). |
-r, --remote string | Daemon 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 duration | Give 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). |