Publish an Image to the Azure Container Registry
Distributing an image is a real piece of cake thanks to Azure Container Registry (ACR).
Pricing
The pricing I am listing are updated to April 2020 and are for North Europe.
The cost of the basic ACR is $5 per month. It comes with 10 GiB of space and 2 webhooks:
The cost of the standard tier is $20 per month. It comes with 100 GiB of space and 10 webhooks.
The cost of the premium tier is $50 per month. It comes with 500 GiB of space and 500 webhooks.
Create a Container Registry
Deploy an image
I will deploy the image I created on my new ACR.
I will tag the image that I want to deploy using the name structure:
<acr.name>.azurecr.io/<repository_name>:1.0
I will do this using the command:
docker tag docker-hello-world_backend alberto.azurecr.io/development/docker-hello-world_backend:1.0
I will login on my ACR:
docker login alberto.azurecr.io
I will then push the newly tagged image:
docker push alberto.azurecr.io/development/docker-hello-world_backend:1.0
Summary
In this article, I introduced Azure Container Registries and walked through how to publish an image.
If you are interested to how I create that image, look at:
Thank you for reading.