Image Builders

Building container images for your ML workflow.

This is an older version of the ZenML documentation. To read and view the latest version please visit this up-to-date URL.

Image Builders

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.

When to use it

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.

Image Builder Flavors

Out of the box, ZenML comes with a local image builder that builds Docker images on your client machine. Additional image builders are provided by integrations:

If you would like to see the available flavors of image builders, you can use the command:

zenml image-builder flavor list

How to use it

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.

Last updated