# Provider settings

> For the complete documentation index, see [llms.txt](https://docs.ringleader.dev/llms.txt).


> A workstation names its provider and operating system image, and can set the provider's size and other settings.


A workstation names its provider and operating system image, and can set the provider's size
and other settings. This page explains how a workstation file does each, and what happens when
an image doesn't fit its provider. For the three kinds of workstation and how a provider is
chosen, see the providers section of
[workstation basics](https://docs.ringleader.dev/workstations/basics/#providers). The
[Provider images and keys](https://docs.ringleader.dev/reference/providers/images-keys/) page lists every key and image.

## Provider names in a workstation file

A workstation names its provider with `spec.provider`, such as `provider: gcp`. That is
shorthand for adding `provider:gcp` to `spec.requirements`. A cloud workstation always names
its provider this way, and usually its image beside it:

```yaml
spec:
  provider: gcp
  image:
    distribution: debian
    version: "13"
```

Only a Workstation can name a provider. `rl apply` rejects a WorkstationConfig that sets
`provider` or `requirements`.

## Settings for one provider

A workstation's `spec.providerConfig` holds settings for its provider, such as its size.
Ringleader reads it from the Workstation's own spec only. It never merges `providerConfig` from
configuration layers, and `rl apply` rejects a WorkstationConfig that sets it.

Each provider reads its own keys. A local provider reads flat keys, such as `cpus` and `memory`.
A cloud provider reads a block named after the cloud, such as `providerConfig.gcp`. The
[Provider images and keys](https://docs.ringleader.dev/reference/providers/images-keys/) page lists every key.

## Operating system images

A workstation's `image` names its operating system as a `distribution` and a `version`, such as
`debian` and `13`. Each provider has its own list of the pairs it can run, which the
[Provider images and keys](https://docs.ringleader.dev/reference/providers/images-keys/) page gives.

The local providers don't all have the same images. `debian` `13`, `ubuntu` `24.04` and
`ubuntu` `26.04` run on vz, qemu and hcs alike. With no `version`, `ubuntu` is 24.04 on vz,
and 26.04 on qemu and hcs.

<div class="callout callout-tip">
  <p class="callout-title">Name an image every system runs</p>
  <div class="callout-body">
    A workstation file you share with people on macOS, Linux and Windows should name one of
those three images, with its <code>version</code>.
  </div>
</div>


A cloud workstation that names no image boots Debian 13. A cloud provider needs both halves of
the pair, unless you name neither.

## Unsupported images

If a workstation names an image its provider can't run, the workstation fails. Its
`status.message` then lists the pairs the provider supports. That happens when you:

- Name a pair the provider doesn't have.
- Name a distribution the provider doesn't know at all, such as `fedora`.
- Name only one of `distribution` and `version` on a cloud provider.
- Ask for an architecture the image has no build for, such as an Arm machine type with an
  image that is built only for amd64.

## Next steps

- For the three kinds of workstation and how Ringleader picks a provider, read
  [workstation basics](https://docs.ringleader.dev/workstations/basics/#providers).
- [Provider images and keys](https://docs.ringleader.dev/reference/providers/images-keys/) lists each provider's images and
  `providerConfig` keys.

