Building container images for your ML workflow.
The image builder is an essential part of most remote MLOps stacks. It is used to build container images such that your machine-learning pipelines and steps can be executed in remote environments.
The image builder is needed whenever other components of your stack need to build container images. Currently, this is the case for most of ZenML's remote orchestrators , step operators, and some model deployers. These containerize your pipeline code and therefore require an image builder to build Docker images.
Out of the box, ZenML comes with a
localimage builder that builds Docker images on your client machine. Additional image builders are provided by integrations:
Builds your Docker images locally.
Builds your Docker images in Kubernetes using Kaniko.
Builds your Docker images using Google Cloud Build.
Extend the image builder abstraction and provide your own implementation
If you would like to see the available flavors of image builders, you can use the command:
zenml image-builder flavor list
You don't need to directly interact with any image builder in your code. As long as the image builder that you want to use is part of your active ZenML stack, it will be used automatically by any component that needs to build container images.