From the course: Docker on Azure (2019)

Unlock the full course today

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

Use ACR locally

Use ACR locally

From the course: Docker on Azure (2019)

Start my 1-month free trial

Use ACR locally

- [Instructor] With a registry in the cloud the first thing we have to do is login to that registry. If we do a directory listing here we have a README file, our Dockerfile, and hostname script, so micro-application. If we look at this README though it just has a couple command hints in it. So the first thing we need to do is we need to login. So az acr login --name, and then the acr name. I'm going to jump over into my cloud registry page and see that L-I-I-N-A-C-R is the registry name that I selected, L-I-I-N-A-C-R. And again, that has to be unique across the azurecr.io domain. So we should be able to login here. And since I'm already logged in with Azure CLI this login has succeeded. So basically what this has now done, and this has told the Docker client that it has registry capabilities for this particular Azure container registry. So now we can build and tag our resource with the new registry name. In fact we…

Contents