Explain it simpler
Building a container image normally needs a special program running on your own computer. ACR Tasks lets Azure do the building for you in the cloud and put the finished image straight into your registry. You can ask for a single build right now, which is called a quick task. Or you can set up a saved task that builds automatically when something happens. There are three kinds of 'something': you push new code, the starter image your app is built on gets updated, or a clock says it is time. It is like a bakery that bakes when a new order arrives, when the flour supplier delivers a fresh batch, or every morning at 5 a.m.
At Cedar Valley Health, a vulnerability bulletin lands on a Thursday afternoon: the Python base image used by every one of the clinic's eight internal APIs has a patched release. Elena, the security analyst, wants every app image rebuilt on the new base by Monday. The developers are mid-sprint, half of them use locked-down laptops with no Docker installed, and nobody wants to open eight pull requests just to rebuild unchanged code. You are asked whether the registry itself can take care of this, today and every time it happens again. Can it rebuild images without anyone touching a laptop, and how would it know when to do so?
You do not need Docker installed locally to produce an image for Azure. ACR Tasks is a set of build features inside Azure Container Registry (ACR) that runs builds on Azure-managed compute and pushes the result straight into your registry. This matters on locked-down developer machines, in Azure Cloud Shell, and in CI (continuous integration) pipelines where you would rather not run a Docker daemon. It also means builds happen close to the registry, so the push step is fast.
Keep reading for free
Create a free StudyToCert account to read the rest of this lesson: 7 more sections, 6 key terms, a real-world example, an exam tip and self-check questions. Every lesson, lab and practice test is free with an account.