Skip to main content
Version: 1.4.x

Hauler Store Copy

Overview​

hauler store copy copies all store content to another location.

An example with available flags...

hauler store copy registry://<registry-url>

hauler store copy dir://<directory-path>

# copies only image signatures and attestations
hauler store copy registry://<registry-url> --only sig, att

Command Overview​

Usage:
hauler store copy [flags]

Flags:
-h, --help help for copy
--insecure (Optional) Allow insecure connections
-o, --only string (Optional) Custom string array to only copy specific 'image' items
--plain-http (Optional) Allow plain HTTP connections

Global Flags:
-d, --haulerdir string Set the location of the hauler directory (default $HOME/.hauler)
--ignore-errors Ignore/Bypass errors (i.e. warn on error) (defaults false)
-l, --log-level string Set the logging level (i.e. info, debug, warn) (default "info")
-r, --retries int Set the number of retries for operations (default 3)
-s, --store string Set the directory to use for the content store
-t, --tempdir string (Optional) Override the default temporary directory determined by the OS