protect image – Edera
protect image
1 min read
Copy Markdown for LLMs
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 Permalink for this section
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 Permalink for this section
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 Permalink for this section
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 Permalink for this section
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].