The LXD team is pleased to announce that there is now a new image server available that provides non-Ubuntu server images for both containers and virtual machine instances. As well as Ubuntu desktop images for virtual machines. Right now containers are built for amd64 and arm64 architectures, and VMs for amd64 architecture only.
It is now open for testing.
This new image server remote will be bundled with future versions of LXD starting with LXD 5.21.1.
The new server can be used with existing LXD deployments by adding it as a remote, e.g.
lxc remote add images https://images.lxd.canonical.com --protocol=simplestreams
To see a list of available images run:
lxc image list images:
The default image variants do not include cloud-init, but we are providing /cloud
variants where possible that do include cloud-init, e.g.
lxc launch images:alpine/edge/cloud c1
There are also Ubuntu desktop virtual machine images available, e.g.
lxc launch images:ubuntu/jammy/desktop v1 --vm --console=vga
For official Ubuntu server images please use the existing ubuntu:
remote.
These always include cloud-init and so there are no /cloud
variants on that remote.
Please feel free to try it out and let us know of any issues on our support forums.
Please note: The images provided via this image server are unofficial images, provided as a convenience and for testing purposes. Whenever possible, you should try to use official images from your Linux distribution of choice.
The tool we are using to create the images is called lxd-imagebuilder.
It is based on the original distrobuilder tool, but with restored support for LXD and a new simplestreams index generator program to aid with hosting the images on a web server.
The tool is available as an initial snap package:
sudo snap install lxd-imagebuilder --classic --edge
Documentation: LXD image builder
Source code: lxd-imagebuilder
Recipes: lxd-ci/images at main · canonical/lxd-ci · GitHub