Module ocipkg::distribution

source ·
Expand description

Pull and Push images to OCI registry based on OCI distribution specification


  • WWW-Authentication challenge
  • A client for /v2/<name>/ API endpoint
  • Namespace of the repository
  • Reference of container image stored in the repository
  • Authentication info stored in filesystem


  • Media types used by OCI image format spec. Values MUST comply with RFC 6838, including the naming requirements in its section 4.2.


  • Get image from registry and save it into local storage
  • Get the data blob of a specific image layer, filtering by media_type.
  • Push image to registry