vantage6.common.docker.addons.get_manifest#

get_manifest(full_image, registry_user=None, registry_password=None)#

Get the manifest of an image

This uses the OCI distribution specification which is supported by all major container registries.

Parameters:
  • full_image (str) – Image name. E.g. “harbor2.vantage6.ai/algorithms/average:latest”

  • registry_user (str | None) – Docker username to authenticate with at the registry. Required if the image is private

  • registry_password (str | None) – Docker password to authenticate with at the registry. Required if the image is private

Returns:

Response containing the manifest of the image

Return type:

requests.Response

Raises:

ValueError – If the image name is invalid