protect image
Manage the images.
protect image <COMMAND>Commands:
pullPull an image into the cache.importImport an image into the cache.removeRemove an image from the cache.listList cached images.
pull
Pull an image into the cache.
protect image pull [OPTIONS] <IMAGE>Arguments:
<IMAGE>Image name
Options:
-s, --image-format <IMAGE_FORMAT>Image format [default: squashfs] [possible values: squashfs, erofs, tar, directory].-n, --no-updateDon’t update from registry.-o, --overwrite-cacheOverwrite image cache.
import
Import an image into the cache.
protect image import [OPTIONS] --digest <DIGEST> --image <IMAGE>Options:
-d, --digest <DIGEST>Image digest.-n, --image <IMAGE>Image name.-s, --image-format <IMAGE_FORMAT>Image format [default: squashfs] [possible values: squashfs, erofs, tar, directory].-o, --overwrite-cacheOverwrite image cache.-i <INPUT_FILE>Input image tar [default: /dev/stdin].
remove
Remove an image from the cache.
protect image remove [OPTIONS] <DIGEST>Arguments:
<DIGEST>Image digest
Options:
-s, --image-format <IMAGE_FORMAT>Image format [default: squashfs] [possible values: squashfs, erofs, tar, directory].
list
List cached images.
protect image list [OPTIONS]Options:
-o, --output <OUTPUT>Output format [default: table] [possible values: table, json, json-pretty, jsonl, yaml, key-value, simple].
Last updated on