IFClite TypeScript API
    Preparing search index...

    Function parseReference

    • Parses [oci://]host[:port]/repo[/more][:tag][@sha256:<hex>].

      The first path segment is the registry only if it contains . or : or is localhost; there is no implicit docker.io, so library/alpine is rejected rather than silently resolved against a registry the caller never named. The origin is https: unless the host appears in insecureHosts. A repository-only reference (no tag, no digest) is valid for tags().

      Parameters

      • input: string
      • Optionaloptions: { insecureHosts?: readonly string[] }

      Returns OciReference