IMAGE-BUILDER-BUILD(1)

πŸ“¦
version 87.0.0 Β· 2 versions
, in centos-stream 10, centos-stream 9, fedora 44

πŸ’– IMAGE-BUILDER-BUILD(1) πŸ’–

okay bestie, welcome to the image-builder-build manual page πŸ’… yes this is the image-builder-build(1) girlie, and she is about to build you an actual operating system image. sit down, hydrate, let's go 🫢


✨ NAME ✨

image-builder-build β€” build the given image-type, e.g. qcow2 (tip: combine with --distro, --arch) 🌈


πŸŽ€ SYNOPSIS πŸŽ€

image-builder build  [flags]

πŸ¦‹ DESCRIPTION πŸ¦‹

So basically: you build the given image-type, e.g. qcow2. and the tip of all tips β€” combine it with --distro and --arch for maximum lewk 🌸

This command also supports uploading the image to a cloud provider after building it. build then yeet, iconic behavior ✨

For AWS uploads, credentials are read from the standard AWS credentials chain, including environment variables, shared configuration and credentials files, and instance profiles. Use --aws-profile to select a named profile. πŸ”₯

For Azure uploads, omit both --azure-client-id and --azure-client-secret to use Azure CLI credentials after authenticating with az login. For service principal authentication, provide --azure-client-id, --azure-client-secret, and --azure-tenant. The tenant is optional with Azure CLI credentials. πŸ’œ


πŸ‘‘ OPTIONS πŸ‘‘

one bullet per flag, no skipping, we respect every single one of them in this house 🫑

  • --arch="" β€” build manifest for a different architecture
  • --aws-ami-name="" β€” name for the AMI in AWS (only for --to=aws)
  • --aws-boot-mode="" β€” boot mode for the AMI: legacy-bios, uefi, uefi-preferred (only for --to=aws)
  • --aws-bucket="" β€” target S3 bucket name for intermediate storage when creating AMI (only for --to=aws)
  • --aws-profile="" β€” name of the AWS credentials profile (only for --to=aws)
  • --aws-region="" β€” target region for AWS uploads (only for --to=aws)
  • --aws-tag=[] β€” tag the AMI with this Key=Value (only for --to=aws)
  • --azure-client-id="" β€” Azure client ID (only for --to=azure)
  • --azure-client-secret="" β€” Azure client secret (only for --to=azure)
  • --azure-image-name="" β€” name for the uploaded image (only for --to=azure)
  • --azure-resource-group="" β€” Azure resource group (only for --to=azure)
  • --azure-subscription="" β€” Azure subscription ID (only for --to=azure)
  • --azure-tenant="" β€” Azure tenant ID (only for --to=azure)
  • --blueprint="" β€” filename of a blueprint to customize an image
  • --bootc-build-ref="" β€” bootc build container ref
  • --bootc-default-fs="" β€” default filesystem to use for the bootc install (e.g. ext4)
  • --bootc-installer-payload-ref="" β€” bootc installer payload ref
  • --bootc-no-default-kernel-args[=false] β€” don't use the default kernel arguments
  • --bootc-pull-container[=false] β€” pull bootc container from remote location instead of using it from local container storage
  • --bootc-ref="" β€” bootc container ref
  • --bootc-variant="" β€” deployment variant to use for the bootc container
  • --cache="/builddir/.cache/image-builder/store" β€” osbuild directory to cache intermediate build artifacts"
  • --distro="" β€” build manifest for a different distroname (e.g. centos-9)
  • --format="" β€” Output in a specific format (json)
  • -h, --help[=false] β€” help for build πŸ₯Ί
  • --ibmcloud-bucket="" β€” target bucket name for storing the image (only for --to=ibmcloud)
  • --ibmcloud-image-name="" β€” name for the uploaded image (only for --to=ibmcloud)
  • --ibmcloud-region="" β€” target region for IBM Cloud uploads (only for --to=ibmcloud)
  • --ignore-warnings[=false] β€” ignore warnings during manifest generation
  • --image-size=0 β€” override the default image size (e.g. 1 GiB)
  • --in-vm[=false] β€” run the osbuild pipeline in a virtual machine
  • --libvirt-connection="" β€” connection URI (only for --to=libvirt)
  • --libvirt-pool="" β€” pool name (only for --to=libvirt)
  • --libvirt-volume="" β€” volume name (only for --to=libvirt)
  • --openstack-container-format="bare" β€” this indicates if the image contains metadata about the VM (only for --to=openstack)
  • --openstack-disk-format="raw" β€” the disk format of a virtual machine image (only for --to=openstack)
  • --openstack-image="" β€” name for the uploaded image (only for --to=openstack)
  • --ostree-parent="" β€” OSTREE parent
  • --ostree-ref="" β€” OSTREE reference
  • --ostree-url="" β€” OSTREE url
  • --output-name="" β€” set specific output basename
  • --progress="auto" β€” type of progress bar to use (e.g. verbose, term)
  • --registrations="" β€” filename of a registrations file with e.g. subscription details
  • --rpmmd-cache="" β€” osbuild directory to cache rpm metadata
  • --seed=0 β€” rng seed, some values are derived randomly, pinning the seed allows more reproducibility if you need it. must be an integer. only used when changed.
  • --with-buildlog[=false] β€” export osbuild buildlog
  • --with-extra=[] β€” include an extra by type:name in the build, globs supported (e.g. --with-extra "sysext:*")
  • --with-manifest[=false] β€” export osbuild manifest
  • --with-metrics[=false] β€” print timing information at the end of the build
  • --with-sbom[=false] β€” export SPDX SBOM document

🌟 OPTIONS INHERITED FROM PARENT COMMANDS 🌟

these ones you didn't even have to ask for, they come down from the parent command like family heirlooms πŸ’–

  • --extra-repo=[] β€” Add an extra repository during build (will not be gpg checked and not be part of the final image)
  • --force-repo=[] β€” Override the base repositories during build (these will not be part of the final image)
  • --force-repo-dir="" β€” Override the default repository search path for custom repository files
  • --output-dir="" β€” Put output into the specified directory
  • -v, --verbose[=false] β€” Switch to verbose mode (more logging on stderr and verbose progress)
heads up bestie: --extra-repo will not be gpg checked, and neither --extra-repo nor --force-repo will be part of the final image. read that again, it matters πŸ’€

πŸ’« SEE ALSO πŸ’«


πŸ“œ HISTORY πŸ“œ

14-Oct-2026 β€” Auto generated by spf13/cobra


and that's the whole page, you ate it all up πŸ“ this was the image-builder-build(1) manual, Oct 2026, auto generated by spf13/cobra β€” go build something cute, love u, bye πŸ’œπŸ§š

πŸ“¦ where this page comes from