Skip to content

registry login failed: 400 #717

@junnplus

Description

@junnplus
[N] ❯ nerdctl login registry.cn-shanghai.aliyuncs.com -u xxx -p xxx --debug
WARN[0000] WARNING! Using --password via the CLI is insecure. Use --password-stdin.
DEBU[0000] Ignoring hosts dir "/etc/containerd/certs.d"  error="stat /etc/containerd/certs.d: no such file or directory"
DEBU[0000] Ignoring hosts dir "/etc/docker/certs.d"      error="stat /etc/docker/certs.d: no such file or directory"
DEBU[0000] len(regHosts)=1
DEBU[0000] token request failed                          body="{\"error\":\"bad request\"}" status="400 Bad Request"
ERRO[0000] failed to call tryLoginWithRegHost            error="failed to call rh.Authorizer.Authorize: failed to fetch oauth token: unexpected status: 400 Bad Request" i=0
FATA[0000] failed to call rh.Authorizer.Authorize: failed to fetch oauth token: unexpected status: 400 Bad Request

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions