From the course: Azure for DevOps: Containers

Unlock the full course today

Join today to access over 22,600 courses taught by industry experts or purchase this course individually.

Publish your application to ACR

Publish your application to ACR - Azure Tutorial

From the course: Azure for DevOps: Containers

Start my 1-month free trial

Publish your application to ACR

- [Narrator] To log in to the Azure Container Registry, I'm going to use the az CLI command, az acr login. As a parameter, I'm going to give it a name of my Azure Container Registry instance. (keyboard clacking) To run the command, I'm going to right-click and select run line in terminal. The az acr login command, is similar to the native docker login command. It uses that existing Azure Active Directory token from my az login context to create an authentication token, and log in to the registry. You can review the token using the -t flag in the az acr login. This works well with development environment, using your own credentials. For a more realistic environment, usual authenticate using the service principal credentials using the az login service principal command. In Visual Studio Code, the Docker extension shows that registration available for my signed in user. I can just expand the subscription…

Contents