Skip to Content
Mastering Azure Serverless Computing
book

Mastering Azure Serverless Computing

by Lorenzo Barbieri, Massimo Bonanni
November 2019
Intermediate to advanced
362 pages
7h 52m
English
Packt Publishing
Content preview from Mastering Azure Serverless Computing

Publishing the custom Docker image to an ACR

If you prefer an ACR, you can use it to push your image.

If you don't know how to create an ACR, you can set up the registry using the portal. For more information on how to do this, read the guide at https://docs.microsoft.com/en-us/azure/container-registry/container-registry-get-started-portal.

To connect to the ACR, you first need to authenticate it:

az acr login --name yourAcrName

At this point, you can create a new image with the yourAcrName.azurecr.io prefix (or you can tag an existing image), and then you can push it:

docker build --tag yourAcrName.azurecr.io/mycustomimage:v1.0.0 . docker push yourAcrName.azurecr.io/mycustomimage:v1.0.0
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Start your free trial

You might also like

Advanced Serverless Architectures with Microsoft Azure

Advanced Serverless Architectures with Microsoft Azure

Daniel Bass
Azure Serverless Computing Cookbook - Third Edition

Azure Serverless Computing Cookbook - Third Edition

Praveen Kumar Sreeram, Kasam Shaikh, Greg Leonardo

Publisher Resources

ISBN: 9781789951226Supplemental Content