I'm following this Microsoft guide and everything works well until I run the command docker-compose push when I get this error: ERROR: unauthorized: authentication required, visit https://aka.ms/acr/authorization for more information.. None of the suggested solutions proposed in the provided links works for me.
In addition, The admin user is enabled
Any ideas?
Thanks.
CodePudding user response:
try this solution and most of the time it works: when you login to docke it saves the credential in cache and there is a file called config.json in this path $~:.docker/config.json check if the credential is stored there right and if there is nothing try to write the authentication credentials.
