Building Custom Image with Docker

I found an interesting article that goes through the process of building a Ubuntu image with Docker. It basically builds a Dockerfile and outputs a .tar file which is then converted to an ISO (Source: I assume the ISO can then be converted using Packer or something.

Has anyone else managed to convert a Dockerfile to a MAAS-bootable TGZ?

Hi @yaroch,

the problem with the docker image is that it has no kernel and no bootloader, so you need to add these packages (along with curtin, netplan and cloud-init) and scripts to install them during MAAS deployment. Something similar is done by Packer to build custom Ubuntu image.