lxc image copy

Copy image between servers

Synopsis

Description: Copy image between servers

The auto-update flag instructs the server to keep this image up to date. It requires the source to be an alias and for it to be public.

If the destination LXD remote supports image registries, the source image must be from an image registry or available locally on the destination remote.

lxc image copy [<registry|remote>:]<image> <remote>: [flags]

Options

      --alias            New aliases to add to the image
      --auto-update      Keep the image up to date after initial copy
      --copy-aliases     Copy aliases from source
      --mode             Transfer mode. One of pull (default), push or relay (default "pull")
  -p, --profile          Profile to apply to the new image
      --public           Make image public
      --target-project   Copy to a project different from the source
      --vm               Copy virtual machine images

Options inherited from parent commands

      --debug          Show all debug messages
      --force-local    Force using the local unix socket
  -h, --help           Print help
      --project        Override the source project
  -q, --quiet          Do not show progress information
      --sub-commands   Use with help or --help to view sub-commands
  -v, --verbose        Show all information messages
      --version        Print version number

SEE ALSO