Codekraft cloud volume import [FLAGS]
Examples
Code# Import data from a local directory "path/to/data" to a volume named "my-volume" $ kraft cloud volume import --source path/to/data --volume my-volume # Import data from a local Dockerfile "path/to/Dockerfile" to a volume named "my-volume" $ kraft cloud volume import --source path/to/Dockerfile --volume my-volume # Import data from a docker registry "docker.io/nginx:latest" to a volume named "my-volume" $ kraft cloud volume import --source docker.io/nginx:latest --volume my-volume # Import data from a local cpio file "path/to/file" to a volume named "my-volume" $ kraft cloud volume import --source path/to/file --volume my-volume # Import data from a local cpio file "path/to/file" to a volume named "my-volume" on the port 10000 $ kraft cloud volume import --source path/to/file --volume my-volume --port 10000
Options
Code-f, --force Force import, even if it might fail -h, --help help for import --image string Volume import image to use (default "official/utils/volimport:1.0") -p, --port int Custom port to connect to the volume import service instance on (default 42069) -s, --source string Path to the data source (directory, Dockerfile, Docker link, cpio file) (default ".") -t, --timeout uint Timeout for the import process in seconds when unresponsive (default 10) -v, --volume string Identifier of an existing volume (name or UUID) -w, --workdir string Working directory for the import process
Options inherited from parent commands
Code--allow-insecure Allow insecure connections to the Unikraft Cloud API --metro string Unikraft Cloud metro location --token string Unikraft Cloud access token
See Also
kraft cloud volume: Manage persistent volumes on KraftCloud
Last modified on