az acr login failure on WSL2 after update to docker desktop 4.4.3
See original GitHub issueDescribe the bug
Error while login to the acr private repository on WSL2 after update of the docker desktop from version 4.3.2 to version 4.4.3.
Command Name
az acr login
Errors:
[017:06:56:24.453][E] (72680e68) 2ab66a6a-CredentialHelperPKG C<-S NoResponse POST /registry/credstore-updated (1.5655ms): Post "http://ipc/registry/credstore-updated": open /run/host-services/backend.sock: The system cannot find the path specified.
[common/pkg/backend.(*backendClient).NotifyCredstoreUpdated(0xa78751)
[ common/pkg/backend/client.go:358 +0x42
[main.addCredentialsHelperCommand.func1.1()
[ common/cmd/docker-credential-desktop/main.go:21 +0x31
[common/pkg/docker-credential-desktop.Helper.Add({0xc000303f60, 0xaaddc0}, 0xc000415350)
[ common/pkg/docker-credential-desktop/helper.go:59 +0xf4
[github.com/docker/docker-credential-helpers/credentials.Store({0xb65710, 0xc000410a00}, {0xb55180, 0xc000006010})
[ vendor/github.com/docker/docker-credential-helpers/credentials/credentials.go:107 +0x229
[github.com/docker/docker-credential-helpers/credentials.HandleCommand({0xb65710, 0xc000410a00}, {0xc0000300a0, 0xb65710}, {0xb55180, 0xc000006010}, {0xb551c0, 0xc000006018})
[ vendor/github.com/docker/docker-credential-helpers/credentials/credentials.go:71 +0xf3
[github.com/docker/docker-credential-helpers/credentials.Serve({0xb65710, 0xc000410a00})
[ vendor/github.com/docker/docker-credential-helpers/credentials/credentials.go:58 +0xf4
[main.addCredentialsHelperCommand.func1(0xc000462280, {0xa6cfd4, 0x0, 0x0})
[ common/cmd/docker-credential-desktop/main.go:23 +0x2a
[github.com/spf13/cobra.(*Command).execute(0xc000462280, {0x104e420, 0x0, 0x0})
[ vendor/github.com/spf13/cobra/command.go:860 +0x5f8
[github.com/spf13/cobra.(*Command).ExecuteC(0xc000462000)
[ vendor/github.com/spf13/cobra/command.go:974 +0x3bc
[github.com/spf13/cobra.(*Command).Execute(...)
[ vendor/github.com/spf13/cobra/command.go:902
[main.main()
[ common/cmd/docker-credential-desktop/main.go:45 +0x107
[017:06:56:24.456][E] (72680e68-1) 2ab66a6a-CredentialHelperPKG C<-S NoResponse GET /ping (519.6µs): Get "http://ipc/ping": open /run/host-services/backend.sock: The system cannot find the path specified.
[common/pkg/backend.(*backendClient).NotifyCredstoreUpdated(0xa78751)
[ common/pkg/backend/client.go:358 +0x42
[main.addCredentialsHelperCommand.func1.1()
[ common/cmd/docker-credential-desktop/main.go:21 +0x31
[common/pkg/docker-credential-desktop.Helper.Add({0xc000303f60, 0xaaddc0}, 0xc000415350)
[ common/pkg/docker-credential-desktop/helper.go:59 +0xf4
[github.com/docker/docker-credential-helpers/credentials.Store({0xb65710, 0xc000410a00}, {0xb55180, 0xc000006010})
[ vendor/github.com/docker/docker-credential-helpers/credentials/credentials.go:107 +0x229
[github.com/docker/docker-credential-helpers/credentials.HandleCommand({0xb65710, 0xc000410a00}, {0xc0000300a0, 0xb65710}, {0xb55180, 0xc000006010}, {0xb551c0, 0xc000006018})
[ vendor/github.com/docker/docker-credential-helpers/credentials/credentials.go:71 +0xf3
[github.com/docker/docker-credential-helpers/credentials.Serve({0xb65710, 0xc000410a00})
[ vendor/github.com/docker/docker-credential-helpers/credentials/credentials.go:58 +0xf4
[main.addCredentialsHelperCommand.func1(0xc000462280, {0xa6cfd4, 0x0, 0x0})
[ common/cmd/docker-credential-desktop/main.go:23 +0x2a
[github.com/spf13/cobra.(*Command).execute(0xc000462280, {0x104e420, 0x0, 0x0})
[ vendor/github.com/spf13/cobra/command.go:860 +0x5f8
[github.com/spf13/cobra.(*Command).ExecuteC(0xc000462000)
[ vendor/github.com/spf13/cobra/command.go:974 +0x3bc
[github.com/spf13/cobra.(*Command).Execute(...)
[ vendor/github.com/spf13/cobra/command.go:902
[main.main()
[ common/cmd/docker-credential-desktop/main.go:45 +0x107
[017:06:56:25.466][E] (72680e68-2) 2ab66a6a-CredentialHelperPKG C<-S NoResponse GET /ping (0s): Get "http://ipc/ping": open /run/host-services/backend.sock: The system cannot find the path specified.
[common/pkg/backend.(*backendClient).NotifyCredstoreUpdated(0xa78751)
[ common/pkg/backend/client.go:358 +0x42
[main.addCredentialsHelperCommand.func1.1()
[ common/cmd/docker-credential-desktop/main.go:21 +0x31
[common/pkg/docker-credential-desktop.Helper.Add({0xc000303f60, 0xaaddc0}, 0xc000415350)
[ common/pkg/docker-credential-desktop/helper.go:59 +0xf4
[github.com/docker/docker-credential-helpers/credentials.Store({0xb65710, 0xc000410a00}, {0xb55180, 0xc000006010})
[ vendor/github.com/docker/docker-credential-helpers/credentials/credentials.go:107 +0x229
[github.com/docker/docker-credential-helpers/credentials.HandleCommand({0xb65710, 0xc000410a00}, {0xc0000300a0, 0xb65710}, {0xb55180, 0xc000006010}, {0xb551c0, 0xc000006018})
[ vendor/github.com/docker/docker-credential-helpers/credentials/credentials.go:71 +0xf3
[github.com/docker/docker-credential-helpers/credentials.Serve({0xb65710, 0xc000410a00})
[ vendor/github.com/docker/docker-credential-helpers/credentials/credentials.go:58 +0xf4
[main.addCredentialsHelperCommand.func1(0xc000462280, {0xa6cfd4, 0x0, 0x0})
[ common/cmd/docker-credential-desktop/main.go:23 +0x2a
[github.com/spf13/cobra.(*Command).execute(0xc000462280, {0x104e420, 0x0, 0x0})
[ vendor/github.com/spf13/cobra/command.go:860 +0x5f8
[github.com/spf13/cobra.(*Command).ExecuteC(0xc000462000)
[ vendor/github.com/spf13/cobra/command.go:974 +0x3bc
[github.com/spf13/cobra.(*Command).Execute(...)
[ vendor/github.com/spf13/cobra/command.go:902
[main.main()
[ common/cmd/docker-credential-desktop/main.go:45 +0x107
[017:06:56:26.474][E] (72680e68-3) 2ab66a6a-CredentialHelperPKG C<-S NoResponse GET /ping (0s): Get "http://ipc/ping": open /run/host-services/backend.sock: The system cannot find the path specified.
[common/pkg/backend.(*backendClient).NotifyCredstoreUpdated(0xa78751)
[ common/pkg/backend/client.go:358 +0x42
[main.addCredentialsHelperCommand.func1.1()
[ common/cmd/docker-credential-desktop/main.go:21 +0x31
[common/pkg/docker-credential-desktop.Helper.Add({0xc000303f60, 0xaaddc0}, 0xc000415350)
[ common/pkg/docker-credential-desktop/helper.go:59 +0xf4
[github.com/docker/docker-credential-helpers/credentials.Store({0xb65710, 0xc000410a00}, {0xb55180, 0xc000006010})
[ vendor/github.com/docker/docker-credential-helpers/credentials/credentials.go:107 +0x229
[github.com/docker/docker-credential-helpers/credentials.HandleCommand({0xb65710, 0xc000410a00}, {0xc0000300a0, 0xb65710}, {0xb55180, 0xc000006010}, {0xb551c0, 0xc000006018})
[ vendor/github.com/docker/docker-credential-helpers/credentials/credentials.go:71 +0xf3
[github.com/docker/docker-credential-helpers/credentials.Serve({0xb65710, 0xc000410a00})
[ vendor/github.com/docker/docker-credential-helpers/credentials/credentials.go:58 +0xf4
[main.addCredentialsHelperCommand.func1(0xc000462280, {0xa6cfd4, 0x0, 0x0})
[ common/cmd/docker-credential-desktop/main.go:23 +0x2a
[github.com/spf13/cobra.(*Command).execute(0xc000462280, {0x104e420, 0x0, 0x0})
[ vendor/github.com/spf13/cobra/command.go:860 +0x5f8
[github.com/spf13/cobra.(*Command).ExecuteC(0xc000462000)
[ vendor/github.com/spf13/cobra/command.go:974 +0x3bc
[github.com/spf13/cobra.(*Command).Execute(...)
[ vendor/github.com/spf13/cobra/command.go:902
[main.main()
[ common/cmd/docker-credential-desktop/main.go:45 +0x107
[017:06:56:27.489][E] (72680e68-4) 2ab66a6a-CredentialHelperPKG C<-S NoResponse GET /ping (1.1588ms): Get "http://ipc/ping": open /run/host-services/backend.sock: The system cannot find the path specified.
[common/pkg/backend.(*backendClient).NotifyCredstoreUpdated(0xa78751)
[ common/pkg/backend/client.go:358 +0x42
[main.addCredentialsHelperCommand.func1.1()
[ common/cmd/docker-credential-desktop/main.go:21 +0x31
[common/pkg/docker-credential-desktop.Helper.Add({0xc000303f60, 0xaaddc0}, 0xc000415350)
[ common/pkg/docker-credential-desktop/helper.go:59 +0xf4
[github.com/docker/docker-credential-helpers/credentials.Store({0xb65710, 0xc000410a00}, {0xb55180, 0xc000006010})
[ vendor/github.com/docker/docker-credential-helpers/credentials/credentials.go:107 +0x229
[github.com/docker/docker-credential-helpers/credentials.HandleCommand({0xb65710, 0xc000410a00}, {0xc0000300a0, 0xb65710}, {0xb55180, 0xc000006010}, {0xb551c0, 0xc000006018})
[ vendor/github.com/docker/docker-credential-helpers/credentials/credentials.go:71 +0xf3
[github.com/docker/docker-credential-helpers/credentials.Serve({0xb65710, 0xc000410a00})
[ vendor/github.com/docker/docker-credential-helpers/credentials/credentials.go:58 +0xf4
[main.addCredentialsHelperCommand.func1(0xc000462280, {0xa6cfd4, 0x0, 0x0})
[ common/cmd/docker-credential-desktop/main.go:23 +0x2a
[github.com/spf13/cobra.(*Command).execute(0xc000462280, {0x104e420, 0x0, 0x0})
[ vendor/github.com/spf13/cobra/command.go:860 +0x5f8
[github.com/spf13/cobra.(*Command).ExecuteC(0xc000462000)
[ vendor/github.com/spf13/cobra/command.go:974 +0x3bc
[github.com/spf13/cobra.(*Command).Execute(...)
[ vendor/github.com/spf13/cobra/command.go:902
[main.main()
[ common/cmd/docker-credential-desktop/main.go:45 +0x107
[017:06:56:28.507][E] (72680e68-5) 2ab66a6a-CredentialHelperPKG C<-S NoResponse GET /ping (1.5642ms): Get "http://ipc/ping": open /run/host-services/backend.sock: The system cannot find the path specified.
[common/pkg/backend.(*backendClient).NotifyCredstoreUpdated(0xa78751)
[ common/pkg/backend/client.go:358 +0x42
[main.addCredentialsHelperCommand.func1.1()
[ common/cmd/docker-credential-desktop/main.go:21 +0x31
[common/pkg/docker-credential-desktop.Helper.Add({0xc000303f60, 0xaaddc0}, 0xc000415350)
[ common/pkg/docker-credential-desktop/helper.go:59 +0xf4
[github.com/docker/docker-credential-helpers/credentials.Store({0xb65710, 0xc000410a00}, {0xb55180, 0xc000006010})
[ vendor/github.com/docker/docker-credential-helpers/credentials/credentials.go:107 +0x229
[github.com/docker/docker-credential-helpers/credentials.HandleCommand({0xb65710, 0xc000410a00}, {0xc0000300a0, 0xb65710}, {0xb55180, 0xc000006010}, {0xb551c0, 0xc000006018})
[ vendor/github.com/docker/docker-credential-helpers/credentials/credentials.go:71 +0xf3
[github.com/docker/docker-credential-helpers/credentials.Serve({0xb65710, 0xc000410a00})
[ vendor/github.com/docker/docker-credential-helpers/credentials/credentials.go:58 +0xf4
[main.addCredentialsHelperCommand.func1(0xc000462280, {0xa6cfd4, 0x0, 0x0})
[ common/cmd/docker-credential-desktop/main.go:23 +0x2a
[github.com/spf13/cobra.(*Command).execute(0xc000462280, {0x104e420, 0x0, 0x0})
[ vendor/github.com/spf13/cobra/command.go:860 +0x5f8
[github.com/spf13/cobra.(*Command).ExecuteC(0xc000462000)
[ vendor/github.com/spf13/cobra/command.go:974 +0x3bc
[github.com/spf13/cobra.(*Command).Execute(...)
[ vendor/github.com/spf13/cobra/command.go:902
[main.main()
[ common/cmd/docker-credential-desktop/main.go:45 +0x107
[017:06:56:29.524][E] (72680e68-6) 2ab66a6a-CredentialHelperPKG C<-S NoResponse GET /ping (0s): Get "http://ipc/ping": open /run/host-services/backend.sock: The system cannot find the path specified.
[common/pkg/backend.(*backendClient).NotifyCredstoreUpdated(0xa78751)
[ common/pkg/backend/client.go:358 +0x42
[main.addCredentialsHelperCommand.func1.1()
[ common/cmd/docker-credential-desktop/main.go:21 +0x31
[common/pkg/docker-credential-desktop.Helper.Add({0xc000303f60, 0xaaddc0}, 0xc000415350)
[ common/pkg/docker-credential-desktop/helper.go:59 +0xf4
[github.com/docker/docker-credential-helpers/credentials.Store({0xb65710, 0xc000410a00}, {0xb55180, 0xc000006010})
[ vendor/github.com/docker/docker-credential-helpers/credentials/credentials.go:107 +0x229
[github.com/docker/docker-credential-helpers/credentials.HandleCommand({0xb65710, 0xc000410a00}, {0xc0000300a0, 0xb65710}, {0xb55180, 0xc000006010}, {0xb551c0, 0xc000006018})
[ vendor/github.com/docker/docker-credential-helpers/credentials/credentials.go:71 +0xf3
[github.com/docker/docker-credential-helpers/credentials.Serve({0xb65710, 0xc000410a00})
[ vendor/github.com/docker/docker-credential-helpers/credentials/credentials.go:58 +0xf4
[main.addCredentialsHelperCommand.func1(0xc000462280, {0xa6cfd4, 0x0, 0x0})
[ common/cmd/docker-credential-desktop/main.go:23 +0x2a
[github.com/spf13/cobra.(*Command).execute(0xc000462280, {0x104e420, 0x0, 0x0})
[ vendor/github.com/spf13/cobra/command.go:860 +0x5f8
[github.com/spf13/cobra.(*Command).ExecuteC(0xc000462000)
[ vendor/github.com/spf13/cobra/command.go:974 +0x3bc
[github.com/spf13/cobra.(*Command).Execute(...)
[ vendor/github.com/spf13/cobra/command.go:902
[main.main()
[ common/cmd/docker-credential-desktop/main.go:45 +0x107
[017:06:56:30.538][E] (72680e68-7) 2ab66a6a-CredentialHelperPKG C<-S NoResponse GET /ping (0s): Get "http://ipc/ping": open /run/host-services/backend.sock: The system cannot find the path specified.
[common/pkg/backend.(*backendClient).NotifyCredstoreUpdated(0xa78751)
[ common/pkg/backend/client.go:358 +0x42
[main.addCredentialsHelperCommand.func1.1()
[ common/cmd/docker-credential-desktop/main.go:21 +0x31
[common/pkg/docker-credential-desktop.Helper.Add({0xc000303f60, 0xaaddc0}, 0xc000415350)
[ common/pkg/docker-credential-desktop/helper.go:59 +0xf4
[github.com/docker/docker-credential-helpers/credentials.Store({0xb65710, 0xc000410a00}, {0xb55180, 0xc000006010})
[ vendor/github.com/docker/docker-credential-helpers/credentials/credentials.go:107 +0x229
[github.com/docker/docker-credential-helpers/credentials.HandleCommand({0xb65710, 0xc000410a00}, {0xc0000300a0, 0xb65710}, {0xb55180, 0xc000006010}, {0xb551c0, 0xc000006018})
[ vendor/github.com/docker/docker-credential-helpers/credentials/credentials.go:71 +0xf3
[github.com/docker/docker-credential-helpers/credentials.Serve({0xb65710, 0xc000410a00})
[ vendor/github.com/docker/docker-credential-helpers/credentials/credentials.go:58 +0xf4
[main.addCredentialsHelperCommand.func1(0xc000462280, {0xa6cfd4, 0x0, 0x0})
[ common/cmd/docker-credential-desktop/main.go:23 +0x2a
[github.com/spf13/cobra.(*Command).execute(0xc000462280, {0x104e420, 0x0, 0x0})
[ vendor/github.com/spf13/cobra/command.go:860 +0x5f8
[github.com/spf13/cobra.(*Command).ExecuteC(0xc000462000)
[ vendor/github.com/spf13/cobra/command.go:974 +0x3bc
[github.com/spf13/cobra.(*Command).Execute(...)
[ vendor/github.com/spf13/cobra/command.go:902
[main.main()
[ common/cmd/docker-credential-desktop/main.go:45 +0x107
[017:06:56:31.545][E] (72680e68-8) 2ab66a6a-CredentialHelperPKG C<-S NoResponse GET /ping (0s): Get "http://ipc/ping": open /run/host-services/backend.sock: The system cannot find the path specified.
[common/pkg/backend.(*backendClient).NotifyCredstoreUpdated(0xa78751)
[ common/pkg/backend/client.go:358 +0x42
[main.addCredentialsHelperCommand.func1.1()
[ common/cmd/docker-credential-desktop/main.go:21 +0x31
[common/pkg/docker-credential-desktop.Helper.Add({0xc000303f60, 0xaaddc0}, 0xc000415350)
[ common/pkg/docker-credential-desktop/helper.go:59 +0xf4
[github.com/docker/docker-credential-helpers/credentials.Store({0xb65710, 0xc000410a00}, {0xb55180, 0xc000006010})
[ vendor/github.com/docker/docker-credential-helpers/credentials/credentials.go:107 +0x229
[github.com/docker/docker-credential-helpers/credentials.HandleCommand({0xb65710, 0xc000410a00}, {0xc0000300a0, 0xb65710}, {0xb55180, 0xc000006010}, {0xb551c0, 0xc000006018})
[ vendor/github.com/docker/docker-credential-helpers/credentials/credentials.go:71 +0xf3
[github.com/docker/docker-credential-helpers/credentials.Serve({0xb65710, 0xc000410a00})
[ vendor/github.com/docker/docker-credential-helpers/credentials/credentials.go:58 +0xf4
[main.addCredentialsHelperCommand.func1(0xc000462280, {0xa6cfd4, 0x0, 0x0})
[ common/cmd/docker-credential-desktop/main.go:23 +0x2a
[github.com/spf13/cobra.(*Command).execute(0xc000462280, {0x104e420, 0x0, 0x0})
[ vendor/github.com/spf13/cobra/command.go:860 +0x5f8
[github.com/spf13/cobra.(*Command).ExecuteC(0xc000462000)
[ vendor/github.com/spf13/cobra/command.go:974 +0x3bc
[github.com/spf13/cobra.(*Command).Execute(...)
[ vendor/github.com/spf13/cobra/command.go:902
[main.main()
[ common/cmd/docker-credential-desktop/main.go:45 +0x107
Error saving credentials: error storing credentials - err: exit status 1, out: `Post "http://ipc/registry/credstore-updated": open /run/host-services/backend.sock: The system cannot find the path specified.`
To Reproduce:
- Install docker desktop 4.4.3 (or update to this version)
- Open WSL2 and run
az acr login -n privaterepo
command once or twice to get the error
Expected Behavior
Login to the acr private repository is successful.
Environment Summary
Windows 10 21H2
Docker Desktop 4.4.3
Linux-5.10.60.1-microsoft-standard-WSL2-x86_64-with-debian-bullseye-sid, Ubuntu 20.04.3 LTS
Python 3.6.10
Installer: DEB
azure-cli 2.32.0
Extensions:
account 0.2.1
azure-devops 0.18.0
Dependencies:
msal 1.16.0
azure-mgmt-resource 20.0.0
Additional Context
Workaround: Downgrade the docker desktop to version 4.3.2 fixes the login issue.
Issue Analytics
- State:
- Created 2 years ago
- Reactions:8
- Comments:5
Top Results From Across the Web
az acr login raises DOCKER_COMMAND_ERROR with ...
The above error due to some times docker might be disabled from starting on boot or login. The following suggestion can be used:....
Read more >Troubleshoot network issues with registry - Azure Container ...
Symptoms, causes, and resolution of common problems when accessing an Azure container registry in a virtual network or behind a firewall.
Read more >EPOS Manager
Docker Desktop with WSL 2 backend software on Windows by following the instructions here https://docs.docker.com/docker-for-windows/install/.
Read more >hyperledger-fabricdocs Documentation - Read the Docs
The new model allows for a chaincode to be upgraded only after a sufficient number of ... Docker Desktop WSL2 backend for more...
Read more >Search Results - CVE
Local privilege escalation due to DLL hijacking vulnerability. The following products are affected: Acronis Cyber Protect Home Office (Windows) before build ...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Update to Docker Desktop 4.4.4 fixed the issue. I’m closing this issue. Please reopen if needed.
I had the same error with aws ecr get-login-password and 4.4.4 fixed the issue