Documentation Index
Fetch the complete documentation index at: https://mintlify.com/Pratyay360/podman-ts/llms.txt
Use this file to discover all available pages before exploring further.
ManifestsManager provides access to OCI manifest lists (also called image indexes), which bundle multiple platform-specific images under a single tag. You can create a multi-platform manifest, add images to it, push it to a registry, and remove individual platform entries by digest — all without leaving TypeScript. Access the manager via client.manifests on any PodmanClient instance.
ManifestsManager methods
create
Manifest instance. At least one image reference must be provided; passing an empty array throws a TypeError.
Name for the manifest list (e.g.
"registry.example.com/myapp:latest").One or more image references to seed the manifest. Each entry may be an
Image instance or a plain string reference.When
true, include all images from a multi-arch source rather than only the current platform’s image.get
NotFound if no manifest with that name exists.
exists
true if a manifest list with the given name exists, false otherwise. Does not throw.
removeManifest
Manifest instance. Returns a summary object with an ExitCode property reflecting the HTTP status.
list
Manifest instance methods
AManifest object is returned by create() and get(). It exposes the following methods:
add
attrs are refreshed automatically via reload().
Image references to add. Each may be an
Image instance or a plain string tag.Include all platform variants when the source is itself a manifest list.
Annotations to attach to each added image entry.
Override the architecture field (e.g.
"amd64", "arm64").Override the OS field (e.g.
"linux", "windows").Override the OS version field.
Override the variant field (e.g.
"v8" for arm64 variants).List of CPU features to record in the manifest entry.
push
Registry reference to push to (e.g.
"registry.example.com/myapp:latest").Push all referenced images alongside the manifest list.
Registry credentials forwarded in the
X-Registry-Auth header. Typical keys: username, password, serveraddress.remove
"sha256:<hex>" or include an image reference prefix with @ — the method normalises both. After removal, attrs are refreshed automatically.
reload
attrs from the Podman API. Called automatically after add() and remove().
Manifest instance properties
| Property | Type | Description |
|---|---|---|
name | string | Manifest list name. |
id | string | undefined | Digest of the first platform entry (hex portion only), or name if no entries exist. |
mediaType | string | undefined | OCI media type of the manifest. |
version | number | undefined | Schema version from the manifest JSON. |