nerdctl login fails with Azure Container Registry

See original GitHub issue

Rancher Desktop Version

1.0.0

Rancher Desktop K8s Version

1.23.3

What operating system are you using?

macOS

Operating System / Build Version

12.1

What CPU architecture are you using?

arm64 (Apple Silicon)

Linux only: what package format did you use to install Rancher Desktop?

No response

Windows User Only

No response

Actual Behavior

Can’t use Azure Container Registry with Rancher Desktop:

$ nerdctl login -u <user> <registry>.azurecr.io
Enter Password: 
ERRO[0001] failed to call tryLoginWithRegHost            error="failed to call rh.Authorizer.Authorize: failed to fetch oauth token: unexpected status: 400 Bad Request" i=0
FATA[0001] failed to call rh.Authorizer.Authorize: failed to fetch oauth token: unexpected status: 400 Bad Request 

This is related to: https://github.com/containerd/nerdctl/issues/737

Steps to Reproduce

See above command.

Result

See above error

Expected Behavior

A successful login.

Additional Information

No response

Issue Analytics

  • State:closed
  • Created 2 years ago
  • Comments:5 (1 by maintainers)

github_iconTop GitHub Comments

2reactions
janduboiscommented, Feb 2, 2022

We will have a new RD 1.0.1 release later today, or early tomorrow, which will include lima 0.8.2 and nerdctl 0.16.1.

1reaction
AkihiroSudacommented, Jan 31, 2022

Should have been already fixed in the current master branch of nerdctl. I’ll release v0.16.1 today.

Read more comments on GitHub >

github_iconTop Results From Across the Web

registry login failed: 400 #717 - containerd/nerdctl - GitHub
I'm seeing the same issue with the Azure container registry (ACR). Login via docker / moby works.
Read more >
Troubleshoot login to registry - Azure Container Registry
Symptoms, causes, and resolution of common problems when logging into an Azure container registry.
Read more >
Connection Refused, Failed to pull docker images
I'm installing unms on a virtual machine and getting this error when running through the install script. ERROR: Get https://registry-1.docker.io/v2/: dial tcp: ...
Read more >
Logging into your docker registry fails with x509 certificate - IBM
You cannot log in to your docker registry. The error return is: x509: certificate signed by unknown authority . Cause. You are using...
Read more >
How To Replace Docker With nerdctl And Rancher Desktop
How to replace Docker Desktop with nerdctl and Rancher Desktop? ▭▭▭▭▭▭ Additional Info ▭▭▭▭▭▭ ➡ Gist with the commands: ...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found