Posts

Showing posts from September, 2018

How to authenticate docker to Azure Container registry

Make sure your account has been added with at least read access to the acr (Azure Container Registry). Also if your account is a guest in the Azure Active Directory. Make sure you have completed your registration you'll get an email. A common error if you have not completed registration is Unable to find Subscription. Download the Azure cli and install it. You can download it for windows at  https://docs.microsoft.com/en-us/cli/azure/install-azure-cli-windows?view=azure-cli-latest . You can find install instructions for other OS's here  https://docs.microsoft.com/en-us/cli/azure/install-azure-cli?view=azure-cli-latest Now login to azure with the account that was setup in step 1. Use the command below and follow the screen instructions. az login  If you have multiple subscriptions you'll need to select the subscription the acr is in.  az account set --subscription <subscription guid> This step is optional but is usually needed. Install 'ACR Docker Cre