wwctl image import

Import an image into Warewulf

Synopsis

This command will pull and import an image into Warewulf from SOURCE, optionally renaming it to NAME. The SOURCE must be in a supported URI format. Formats are:

Imported images are used to create bootable images.

wwctl image import [OPTIONS] SOURCE [NAME]

Examples

wwctl image import docker://ghcr.io/warewulf/warewulf-rockylinux:8 rockylinux-8

Options

-b, --build             Build image after pulling
-f, --force             Force overwrite of an existing image
-h, --help              help for import
    --nohttps           Ignore wrong TLS certificates, superseedes env WAREWULF_OCI_NOHTTPS
    --password string   Set password for the access to the registry, superseedes env WAREWULF_OCI_PASSWORD
    --platform string   Set other hardware platform e.g. amd64 or arm64, superseedes env WAREWULF_OCI_PLATFORM
    --syncuser          Synchronize UIDs/GIDs from host to image
-u, --update            Update and overwrite an existing image
    --username string   Set username for the access to the registry, superseedes env WAREWULF_OCI_USERNAME

Options inherited from parent commands

-d, --debug                 Run with debugging messages enabled.
-v, --verbose               Run with increased verbosity.
    --warewulfconf string   Set the warewulf configuration file

SEE ALSO

Auto generated by spf13/cobra on 29-Jan-2025