LXD image builder

lxd-imagebuilder is an image building tool for LXC and LXD.

Its modern design uses pre-built official images whenever available and supports a variety of modifications on the base image. lxd-imagebuilder creates LXC or LXD images, or just a plain root file system, from a declarative image definition (in YAML format) that defines the source of the image, its package manager, what packages to install or remove for specific image variants, OS releases and architectures, as well as additional files to generate and arbitrary actions to execute as part of the image build process.

lxd-imagebuilder can be used to create custom images that can be used as the base for LXC containers or LXD instances.

lxd-imagebuilder is used to build the images on the LXD image server. You can also use it to build images from ISO files that require licenses and therefore cannot be distributed.


In this documentation

Tutorial

Start here: a hands-on introduction to lxd-imagebuilder and simplestream-maintainer for new users

How-to guides

Step-by-step guides covering key operations and common tasks

Reference

Technical information - specifications, APIs, architecture for lxd-imagebuilder and simplestream-maintainer

Explanation (coming)

Discussion and clarification of key topics


Project and community

lxd-imagebuilder is free software and released under AGPLv3. It’s an open source project that warmly welcomes community projects, contributions, suggestions, fixes and constructive feedback.