Using a prebuilt Flatcar image for Azure

Applies to: ✔️ Linux VMs ✔️ Flexible scale sets

You can download prebuilt Azure virtual hard disk images of Flatcar Container Linux for each of the Flatcar supported channels:

This image is already fully set up and optimized to run on Azure. You only need to decompress it.

Building your own Flatcar-based virtual machine for Azure

Alternatively, you can choose to build your own Flatcar Container Linux image.

On any linux based machine, follow the instructions detailed in the Flatcar Container Linux developer SDK guide. When running the image_to_vm.sh script, make sure you pass --format=azure to create an Azure virtual hard disk.

Next steps

Once you have the .vhd file, you can use the resulting file to create new virtual machines in Azure. If this is the first time that you're uploading a .vhd file to Azure, see Create a Linux VM from a custom disk.