Setting up prerequisites
In this section, we will set up the prerequisites we need in order to build and run functions. We need a container registry and a development machine.
We introduced container images and a container registry in Chapter 1, Introduction to Docker and Kubernetes, in the section on Docker images. A container image contains all the software required to start an actual running container. In this chapter, we will build custom Docker images that contain our functions. We need a place to store these images so that Kubernetes can pull these images and run the containers at scale. We will use the Azure Container Registry for this. Azure Container Registry is a private container registry that is fully managed by Azure.
Up to now in this book, we have run all the examples on the Azure Cloud Shell. For the example in this chapter, we need a separate development machine because the Azure Cloud Shell doesn't allow you to build Docker images. We will create a new...