Skip to content

Getting Images

Once you have chosen a flavor, you need to obtain the image. Garden Linux provides pre-built images via GitHub Releases, cloud provider integrations, and the GitHub Container Registry (GHCR). If no pre-built flavor meets your requirements, you can also build your own.

Official Images

All Garden Linux flavors are published as .tar.xz archives on the GitHub Releases page. This is the primary and always-available method for obtaining images for all platforms, including cloud, virtualization, bare-metal, and local development.

Each release contains:

  • Compressed disk images per platform (.raw, .vhd, .qcow2, .gcpimage.tar.gz)
  • A "Published Images" section listing cloud-native references (AMI IDs, Community Gallery URNs, GCP image names) where applicable

Downloading from GitHub Releases

Use the following script as a starting point for any platform. Set GL_FLAVOR to the flavor name — look it up in the Flavor Matrix if you are unsure of the exact name.

bash
GL_VERSION="<version>"   # e.g. 2150.0.0
GL_COMMIT="<commit>"     # e.g. eb8696b9 (from the release page)
GL_ARCH="amd64"          # or arm64
GL_FLAVOR="<flavor>"     # e.g. aws-gardener_prod, kvm-gardener_prod

GL_ASSET="${GL_FLAVOR}-${GL_ARCH}-${GL_VERSION}-${GL_COMMIT}"
GL_TAR_XZ="${GL_ASSET}.tar.xz"

curl -L -o "${GL_TAR_XZ}" \
  "https://github.com/gardenlinux/gardenlinux/releases/download/${GL_VERSION}/${GL_TAR_XZ}"

tar -xf "${GL_TAR_XZ}"

TIP

The commit hash (GL_COMMIT) for a release is listed in the "Assets" section on the GitHub Releases page as part of each asset filename. For a complete list of maintained releases and their support lifecycle, see the releases reference.

Image Formats by Platform

Each platform target produces a different image format:

PlatformImage FormatFile Extension
awsRaw disk image.raw
azureVirtual Hard Disk.vhd
gcpGCP image tarball.gcpimage.tar.gz
openstackQCOW2 disk image.qcow2
kvmRaw disk image.raw
baremetalRaw disk image.raw
vmwareRaw disk image.raw

Platform-Specific Tutorials

For complete step-by-step instructions on downloading and deploying images, including cloud infrastructure setup and first-boot configuration, see:

Cloud Provider Marketplaces

WARNING

Publishing official Garden Linux images in cloud provider marketplaces is currently being worked on. Until this is ready — if you do not have access to the images listed below — use the Official Images method above.

Where available, Garden Linux publishes images directly to cloud provider shared image galleries. These identifiers are listed in the "Published Images" section of each release on the GitHub Releases page.

ProviderMechanismIdentifier Format
awsPublished AMIs per regionami-<id>
azureAzure Community Gallery/CommunityGalleries/gardenlinux-<uuid>/Images/<flavor>/Versions/<version>
gcpShared GCP projectprojects/sap-se-gcp-gardenlinux/global/images/<image-name>

Container Images

Garden Linux OCI container images are published to the GitHub Container Registry.

bash
# Pull a versioned release image
podman pull ghcr.io/gardenlinux/gardenlinux:<version>

# Pull the latest nightly image
podman pull ghcr.io/gardenlinux/gardenlinux:nightly

TIP

Replace podman with docker if you use Docker — the commands are interchangeable.

For distroless (bare-*) variants, see the Container Base Image how-to guides.

For a complete walkthrough, see First Boot as OCI Image.

Build Your Own Images

If no pre-built flavor matches your requirements, or you need a custom feature combination, build your own image: