-
Notifications
You must be signed in to change notification settings - Fork 14
ACR Auto-login not working in some scenario #29
Comments
This is happening on windows, using Docker Desktop with WSL2 integration. So far we have not been able to reproduce the issue. |
@gtardif On Windows I was also able to use the access token from Is there a way to get detailed trace from the CLI, to see exactly what it is doing while attempting to exchange the Azure access token for the ACR access token? |
@karolz-ms you can unzip the docker cli attached here and invoke it directly instead of the one installed by Desktop.
|
What I found (the following sequence assumes ACI Docker context is in use):
So let's just ship the implementation that you attached @gtardif and we can call it done |
I suppose step 5 just works because it's using the login that was perfomed in step 4. Anyway, I'll display the error message in addition to the current warning, so we can understand better what's going on in case of failure. |
@karolz-ms You can try this Desktop build : https://desktop-stage.docker.com/win/edge/47514/Docker%20Desktop%20Installer.exe, that should be close to our release next week |
@gtardif this build (2.3.6.0) is working for me! |
Worked great for me also, thanks!!! |
Glad to see this ! Thx for the feedback |
This has been released now ! |
Awesome, thanks so much! |
ACR Auto-login has been implemented following this doc that describes how to exchange the Azure mgmt token into a token that ACR accepts: https://github.com/Azure/acr/blob/master/docs/AAD-OAuth.md#getting-credentials-programatically.
Some users at Microsoft are seeing errors while trying to deploy ACR images:
@BigMorty:
@gtardif :
@BigMorty:
The text was updated successfully, but these errors were encountered: