-
Book Overview & Buying
-
Table Of Contents
Azure for Developers - Third Edition
By :
Azure Container Registry is a live Azure service that gets new features and improvements constantly. Some of the most interesting functionalities added recently are artifact cache and multi-arch images. We’ll discuss them in this section in detail as they can be easily incorporated into many applications and are easy to implement.
Before we start discussing how artifact cache works in Azure Container Registry, let’s understand why one would need to use a registry as a cache. In the most basic scenario, when you want to run a container, your container engine checks whether a container image is available locally. If it’s not, it will try to download it first. The process is visualized in Figure 9.7:
Figure 9.7 – The process of downloading and caching a container locally by using a public registry (Docker Hub)
This approach has some serious...