Skip to content
This repository was archived by the owner on Mar 16, 2024. It is now read-only.
This repository was archived by the owner on Mar 16, 2024. It is now read-only.

hub.repositories() returning empty #87

@amokkara

Description

@amokkara

url := "https://registry.hub.docker.com/"
username := "" // anonymous
password := "" // anonymous
hub, err := registry.New(url, username, password)

if err != nil {
	fmt.Println(err)
}

repositories, err := hub.Repositories()
fmt.Println(repositories)
tags, err := hub.Tags("ubuntu")
fmt.Println(tags)

why does this return nil repositories? shouldnt it return public repositories in dockerhub?

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