Skip to content

Configuring Harbor Proxy with Dockerhub Organizational Account #22614

@winterwonderland17

Description

@winterwonderland17

Does anyone know if this is intended/is there any plan to get functionality working with this? Dockerhub has deprecated service accounts, and to avoid using personal accounts for a production Harbor deployment proxy config, I'd like to use an OAT.

https://docs.docker.com/docker-hub/service-accounts/#enhanced-service-account-add-on-tiers

https://docs.docker.com/enterprise/security/access-tokens/

When I try to enter the credentials, it fails auth. If I try saving it regardless, I get a 500 Internal Server Error, and checking the logs it's explicit about the organizational account:

[ERROR] [/lib/http/error.go:58]: {"errors":[{"code":"UNKNOWN","message":"unknown: login to dockerhub error: login to dockerhub error: {"detail":"Cannot log into an organization account"}\n\n"}]

Please advise.

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions