Create a SQLite-based index image
You can create an index image based on the SQLite database format by using the opm CLI.
Prerequisites
-
You have installed the
opmCLI. -
You have
podmanversion 1.9.3+. -
A bundle image is built and pushed to a registry that supports Docker v2-2.
Procedure
-
Start a new index:
$ opm index add \ --bundles <registry>/<namespace>/<bundle_image_name>:<tag> \--tag <registry>/<namespace>/<index_image_name>:<tag> \
[--binary-image <registry_base_image>]
Comma-separated list of bundle images to add to the index. The image tag that you want the index image to have. Optional: An alternative registry base image to use for serving the catalog. -
Push the index image to a registry.
-
If required, authenticate with your target registry:
$ podman login <registry> -
Push the index image:
$ podman push <registry>/<namespace>/<index_image_name>:<tag>
-