Skip to content

docker manifest

ManifestCLI

annotate

annotate(name, manifest, arch=None, os=None, os_features=None, os_version=None, variant=None)

Annotates a Docker manifest list.

PARAMETER DESCRIPTION
name

The name of the manifest list

TYPE: str

manifest

The individual manifest to annotate

TYPE: str

arch

The manifest's architecture

TYPE: Optional[str] DEFAULT: None

os

The manifest's operating system

TYPE: Optional[str] DEFAULT: None

os_features

The manifest's operating system features

TYPE: Optional[List[str]] DEFAULT: None

os_version

The manifest's operating system version

TYPE: Optional[str] DEFAULT: None

variant

The manifest's architecture variant

TYPE: Optional[str] DEFAULT: None

create

create(name, manifests, ammend=False, insecure=False)

Creates a Docker manifest list.

PARAMETER DESCRIPTION
name

The name of the manifest list

TYPE: str

manifests

The list of manifests to add to the manifest list

TYPE: List[str]

Returns

A `python_on_whales.ManifestList`.

inspect

inspect(x)

Returns a Docker manifest list object.

push

push(x, purge=False, quiet=False)

Push a manifest list to a repository.

Options

purge: Remove the local manifest list after push

remove

remove(manifest_lists)

Removes a Docker manifest list or lists.

PARAMETER DESCRIPTION
manifest_lists

One or more manifest lists.

TYPE: Union[ValidManifestList, List[ValidManifestList]]