Zudoku
unikraft volumes

unikraft volumes import

Import data into a volume.

Code
unikraft volumes import <volume> [flags]

Examples

Import the current directory into a volume:

TerminalCode
unikraft volume import my-volume --source .

Import a local directory into a volume:

TerminalCode
unikraft volume import my-volume --source ./data

Import a CPIO archive into a volume:

TerminalCode
unikraft volume import my-volume --source rootfs.cpio

Import a Dockerfile context into a volume:

TerminalCode
unikraft volume import my-volume --source ./Dockerfile

Options

Code
-f, --force Force import even if the data might exceed volume capacity. -s, --source path Data source: local directory, CPIO archive, or Dockerfile.

Options inherited from parent commands

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