Skip to content

Proposal: Add Registry Authentication Support for Private Registries #132

@cuiyuebing

Description

@cuiyuebing

Currently, BoxLite only supports anonymous authentication (RegistryAuth::Anonymous) when pulling OCI images. This prevents users from pulling images from private registries that require authentication.

This is a significant limitation in the following scenarios:
Private Container Registries: Organizations using private registries (Alibaba Cloud ACR, AWS ECR, Google GCR, Azure ACR, Harbor, JFrog Artifactory) cannot use BoxLite to pull their images.
Enterprise Environments: Many enterprises require authentication for all registry access, even for pulling public images.
Security Compliance: Some organizations mandate authenticated pulls for audit trails and access control.

Proposed design: The simplest and most user-friendly approach is to read credentials from Docker's configuration file ~/.docker/config.json

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions