Skip to content

Decide whether compute workloads support anonymous (credential-less) image pulls #173

Description

@scotwells

Decision needed: should Datum compute workloads support anonymous (credential-less) pulls of public images at all?

Even where anonymous pulls work, Docker Hub applies aggressive per-IP rate limits to unauthenticated pulls — and edge nodes aggregate many workloads behind few IPs, so anonymous pulls would throttle unpredictably at scale.

Options

  1. Require pull credentials for all registries. Credential-less image references fail validation with a clear error. Predictable behavior; avoids rate-limit blowups entirely.
  2. Support anonymous pulls with documented rate-limit caveats.
  3. Platform-managed pull-through cache/mirror as the longer-term answer for public images (compatible with either of the above).

Runtime bug (context — moot if option 1 is chosen)

The Unikraft runtime's node agent presents credentials on every pull even when none are configured anywhere, so anonymous pulls of public images fail today — registries reject with 401/403 (Docker Hub: "incorrect username or password"). Undocumented agent knobs AGENT_OCI_REGISTRY_CREDS / AGENT_OCI_REGISTRY_HOST may be the intended configuration path; this is an open vendor question raised via datum-cloud/unikraft-provider#68.

Exit criteria

  • Product decision recorded.
  • If anonymous pulls are in scope: the runtime bug above becomes a vendor blocker.
  • If not: document the credential requirement in user-facing docs and surface a clear validation error for credential-less image references.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Fields

    Priority

    Urgent

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions