Skip to main content
Version: 1.4.x

Hauler Store Remove

Overview​

hauler store remove removes matching item(s) from the store using simple string matching.

Note: remove is an experimental feature as of Hauler v1.4.0.

An example with available flags...

hauler store remove <artifact-reference>

Command Overview​

Usage:
hauler store remove <artifact-ref> [flags]

Examples:
# remove an image using full store reference
hauler store info
hauler store remove index.docker.io/library/busybox:stable

# remove a chart using full store reference
hauler store info
hauler store remove hauler/rancher:2.8.4

# remove a file using full store reference
hauler store info
hauler store remove hauler/rke2-install.sh

# remove any artifact with the latest tag
hauler store remove :latest

# remove any artifact with 'busybox' in the reference
hauler store remove busybox

# force remove without verification
hauler store remove busybox:latest --force

Flags:
-f, --force (Optional) Remove artifact(s) without confirmation
-h, --help help for remove

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