Image Manifest
The manifest
command of Sealos is used to create, modify, and push manifest lists and image indexes. These functions are mainly used to handle multi-architecture support of images. In Docker and OCI image specifications, manifest lists (also known as "fat manifests") or image indexes allow an image tag (like myimage:latest
) to be used on various hardware architectures (like amd64, arm64, ppc64le, etc.).
Here are some of the major manifest
subcommands:
create
: Creates a new manifest list or image index. Example:sealos manifest create localhost/list
add
: Adds an image to the manifest list or image index. Example:sealos manifest add localhost/list localhost/image
annotate
: Adds or updates information in entries of the manifest list or image index. Example:sealos manifest annotate --annotation A=B localhost/list localhost/image
inspect
: Displays the content of the manifest list or image index. Example:sealos manifest inspect localhost/list
push
: Pushes the manifest list or image index to the registry. Example:sealos manifest push localhost/list transport:destination
remove
andrm
: Removes entries from the manifest list or image index, or completely deletes the manifest list or image index. Example:sealos manifest remove localhost/list sha256:entryManifestDigest
orsealos manifest rm localhost/list
With the sealos manifest
command, you can flexibly manage manifest lists or image indexes, providing support for multi-architecture Docker or OCI images. Users can create custom manifest lists according to their needs, making it convenient to deploy and run Docker images on different hardware architectures.
Users who want to build multi-architecture images through the manifest command can refer to the document Building Cluster Images that Support Multiple Architectures.