Skip to content

Proposal: Move skopeo's experimental-image-proxy into container-libs #674

@giuseppe

Description

@giuseppe

Skopeo's experimental-image-proxy command (~1000 lines in cmd/skopeo/proxy.go) exposes a JSON+fd-passing protocol over a Unix socket pair, allowing non-Go programs to fetch container images. The primary consumer is https://github.com/containers/containers-image-proxy-rs.

The proxy is almost entirely a thin wrapper around containers/image APIs.

The proposed approach is to extract the proxy handler into a new package under container-libs so that it can be reused by other tools.

Once this proxy library is in place, #651 can be reworked to use it instead of introducing its own JSON-RPC server.

@mtrmac @cgwalters PTAL

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