Skip to content

Using docker/distribution instead of docker/docker? #54

Description

@glestaris

Hello,

containers/image imports docker/docker for the reference package which is used for types of for reference parsing [1]. docker/docker is a quite big repository and would prefer to avoid having it as a dependency in GrootFS [2], which consumes containers/image.

Would it be possible to use docker/distribution instead for the reference types/parsing? Additionally, the Docker transport package seems to be doing all the requests to a Docker registry [3]. Could this behavior be delegated to docker/distribution?

Thanks!

[1]

ref, err := reference.ParseNamed(strings.TrimPrefix(refString, "//"))

[2] https://github.com/cloudfoundry/grootfs
[3]
res, err := s.c.makeRequest("GET", url, headers, nil)

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