Bootc Server Quick Start
You're in the right place if you've:
- built an image
FROMFedora, CentOS or AlmaLinux bootc - pushed it to GHCR, Docker Hub, GCR, Quay, etc.
- started reading up on image-builder, wondering how to deploy it
We maintain a small starting image that will switch to your image. No need to run image-builder yourself!
This tool is not required for Kheeper users.
Check out our Kheeper quick start instead.
A public image that reads your image from instance metadata on first boot, runs
bootc switch and reboots into it.
gcloud compute instances create my-vm \ --image-project kheeper --image-family bootc-quickstart \ --machine-type c4-standard-2 \ --boot-disk-size 20GB \ --metadata 'bootc-image=quay.io/you/app:latest'
The same image as a public AMI. It reads your image from the bootc key of
#cloud-config user-data. cloud-init in your image ignores that key, so the
rest of the user-data is still yours. No instance profile needed.
aws ec2 run-instances --region us-east-1 \
--image-id ami-09971ce7ab7f56f10 \
--instance-type t3.small \
--block-device-mappings 'DeviceName=/dev/xvda,Ebs={VolumeSize=20}' \
--user-data '#cloud-config
bootc:
image: "quay.io/you/app:latest"'For any provider or PXE server that boots an iPXE script. It boots the Fedora installer with a public kickstart that installs your image to the first disk, which it wipes. Your settings ride on the kernel command line, so nothing about your install is hosted anywhere.
#!ipxe
set mirror http://mirror.rackspace.com/fedora/releases/45/Everything/x86_64/os
kernel ${mirror}/images/pxeboot/vmlinuz initrd=initrd.img inst.repo=${mirror} inst.ks=https://storage.googleapis.com/kheeper-images-public/bootc-quickstart.ks ip=dhcp bootc.image=quay.io/you/app:latest
initrd ${mirror}/images/pxeboot/initrd.img
boot