-
Notifications
You must be signed in to change notification settings - Fork 49
Open
Description
Relates to
which provides some versioning etc info.
I have
❯ docker-credential-secretservice list
{"https://index.docker.io/v1/":"repronimservices","workshop.dev.flywheel.io":"yarikoptic@gmail.com"}
with
❯ grep -v '^#' /etc/containers/registries.conf
[registries.search]
registries = ['docker.io']
❯ cat ~/.docker/config.json
{
"auths": {
"https://index.docker.io/v1/": {}
},
"credsStore": "secretservice",
"experimental": "enabled"
}
and everything seems to work ok in general - I can docker login
to switch to another user etc. But attempt to run a simple oras-py code fails since docker-credential-secretservice
is provided the hostname (docker.io
) and not URL.
https://github.com/docker/docker-credential-helpers?tab=readme-ov-file#development says that
get: Retrieves credentials from the keychain. The payload in the standard input is the raw value for the ServerURL.
so sounds like it expects "ServerURL"... so URL not hostname? Could/should both URL and hostname tried but is there a correspondence between the two somewhere?
Metadata
Metadata
Assignees
Labels
No labels