Maintainers
The image.yml manifest
Every field of image.yml with its options, defaults and what it drives, the normalisation applied before rendering, and what builder check enforces beyond the schema.
image.yml is the one hand-edited metadata file of an image repository, one per live branch, validated against image.schema.json (JSON Schema 2020-12, additionalProperties: false everywhere, so an unknown key fails builder check). This page walks the schema top to bottom and says what each field drives. The schema’s description strings are authoritative for meaning; this page adds the consumers and the defaults that are applied in code rather than in the schema. The worked examples are the three manifests under examples/ and any converted repository.
Required top-level keys: schema, name, summary, upstream, release, build, runtime, docs.
Identity
schema(const1). The contract major version. A MAJOR schema change bumps it; consumers refuse what they do not understand.name(^[a-z0-9][a-z0-9-]{0,62}$). The imageghcr.io/linuxserver-playground/<name>, the repodocker-<name>, the site URL/images/<name>/, the defaultcontainer_name, the defaulthost_pathprefix. A.or_is rejected.title(string, max 80). Display name. Default:namecapitalised. Used by the hub API and the site; the README heading usesorg/name.summary(Markdown, min 10 chars). The paragraph under the README heading, the mkdocs page description (first paragraph, one line), the hub’sdescription, store descriptions. Admonition shorthand allowed.kind(app(default),base,tool).appis a long-running application: stores, install artefacts, the v1 image list.baseonly forbaseimage-*repos (builder checkties the two together).toolis run-once images, project helpers and binaries other images copy in: built and released like any image, listed on their own tabs, left out of stores, k8s and quadlets.extras(list of strings). Bullet points under the summary in the README and the mkdocs page.deprecation({status, message}).status: trueputs the deprecation block at the top of the README and the docs page, flags the image in the hub and stores, and the container printsmessageat start.changelog(list of{date: YYYY-MM-DD, text}, newest first). The Versions section; the hub’schangelogandinitial_date(the oldest entry).builder checkfails on a date out of order or not ISO. Every Dockerfile orroot/change adds an entry; documentation-only manifest edits do not.
upstream
url(URI). The project link in the README badges and the site header. Defaults to the repo URL.version(version source). What the build and the control plane resolve to find the upstream version. The whole of Version sources.notes(notes source). Where upstream release notes come from; stored verbatim with the Release and shown on the build page. Same page.sponsor(list of{name, url}). Written to/donate.txtin the image and shown on the image page.
release
branch(string). The git branch this manifest lives on. This is what makes a branch live: the workflow releases only when the branch it runs on equalsrelease.branch, control schedules only branches whose own manifest names them, and the hub lists them. Builds of any other branch go todev/.builder checkfails when it does not match the checked-out branch.tag(^[a-z0-9][a-z0-9._-]{0,127}$). The tag this branch publishes:lateston the default branch, otherwise usually the branch name. Every released tag of a non-default branch is prefixed with it (develop-4.0.1-ls3,develop-version-4.0.1).channel(stable,prerelease). Marks the GitHub Release as a prerelease.tags(list of{tag, description, deprecated, unraid_extra}). The Version Tags table in the README and the branch pickers in the stores. Only advertising: a branch releases because of its ownrelease.branch, whether or not the default branch lists it yet.deprecatedgreys the row.unraid_extrais raw XML put inside the Unraid<Branch>element. The other tags are also taken as the names of the other live branches when the hub and the README need the list (live_branchesin the render context), exceptlatestand this branch’s own tag.
build
base(alpine,alpine-nginx,ubuntu,debian,fedora,arch,el,selkies,kasmvnc,rdesktop,scratch,other; required). Package-manager aware steps in the build (is_alpinein templates), the base family shown on the site, which docs snippets apply. TheFROMline itself lives in the Dockerfile.version_arg(^[A-Z][A-Z0-9_]*$; defaultVERSION). The DockerfileARGthe build passes the resolved upstream version into (--build-arg <version_arg>=<upstream>). The Dockerfile should still fall back to resolving it itself when unset, so a localdocker buildworks.platforms(amd64,arm64(one or both); required). The arch matrix, the Supported Architectures table, the multi-arch index, the hub’sarchitectures.dockerfiles({amd64, arm64}; defaultDockerfile,Dockerfile.aarch64). Which file builds each platform.package_check(boolean; defaulttrue). Whether control includes the branch in the weekly package refresh.build_args(map of string). Extra--build-argvalues on every build.first_party(boolean; defaulttrue). InjectENV LSIO_FIRST_PARTY=trueafterFROM.falsefor base images.
test
What the ci container does after the image is built. Defaults apply when the key is absent.
enabled(defaulttrue). Run the harness at all.startup_timeout(default120(10 to 1800)). Seconds to wait for[ls.io-init] done.env: Extra environment for the test container.web.port: The port the browser probe hits; required whenwebis set. Withoutweb, the requiredruntime.portsare what the harness checks.web.path,web.scheme,web.auth(default/,http, none). Path, scheme anduser:passwordfor the probe and the screenshot.web.screenshot_delay,web.screenshot_timeout(default10,120). Seconds; selkies, kasmvnc and rdesktop bases wait longer by decision.sbom_timeout(default900). Seconds for the syft scan.
runtime
The parameter table, the compose and docker run snippets, every store template, the Kubernetes manifest and the quadlet all come from this block. Every list item carries a description (shown in the table and the store UIs) and may be optional: true, which renders it with the #optional marker and leaves it out of the required-only snippets. name and title are short labels for store UIs.
container_name(string). Default:name.common_env(true(default),false,"optional"). Include PUID, PGID and TZ. When on, aTZentry underenvis dropped so it is not listed twice.network({mode, description, optional}).--net=<mode>.hostname,mac_address({value, description, optional}). Scalar flags.privileged(true,false(default),"optional").ports({internal: "8080" or "1900/udp", external, description, name, optional}).externaldefaults to the internal number. Required ports are also what the test harness checks are listening.volumes({path, host_path, mode: rw|ro, description, name, optional, default_host_path}).host_pathdefaults to/path/to/<name>/<last path segment>.default_host_path: truetells store UIs to prefill it (for/lib/modulesand the like).env({name, value, description, title, options, optional, secret}).valueis the example shown.optionsrenders a dropdown in stores.secretmasks the value in UIs and defaults to true when the name containsTOKEN,PASSorKEY. Mixed-case names are allowed because some applications need them.devices({path: /dev/..., host_path, description, name, optional}).host_pathdefaults topath.cap_add({cap: UPPER_CASE, description, optional}).security_opt({run, compose, description, optional}). Both spellings are given because they differ (seccomp=unconfinedvsseccomp:unconfined).custom({flag, compose, value: string or list, description, optional}). Any otherdocker runflag with its compose key (shm-size/shm_size,sysctl/sysctls).readonly,nonroot({supported, notes}).supported: trueadds the Read-Only Operation or Non-Root Operation section withnotesunder it, and the hub exposes the flags. Record what has been tested, not what might work.
Ordering. Within each list the renderer puts required items first, then optional ones, both in manifest order. Write them in the order you want users to read them.
docs
| Field | Drives |
|---|---|
categories (required, one or more) |
The category filters on the site and the stores. Keep the names LinuxServer curated in readme-vars. |
logo |
URL of the project logo, shown under the summary and in the site header. |
setup |
The Application Setup section, Markdown. The one place for how to use the app. Admonitions as `?+note[Title]( |
optional_parameters |
A Markdown section after the parameters table, for parameters that need prose. |
notices |
Flags that pull in a standard sub-section under Application Setup: hwaccel (Hardware Acceleration), keyboard (Keyboard Layouts), media (Media folders), seccomp, strict_proxy (the image serves https itself), kasm (the legacy Security section), and selkies: {enabled, nvidia, https_port, http_port} (the Selkies section, with its ports; defaults 3001 and 3000). The texts are in builder/templates/parts/. |
external_application |
{cli, compose, unraid, kubernetes}: snippets for a second container the app needs, such as a database, one per surface. |
custom_readme |
Replaces the whole generated README body. Internal tools only. |
init_diagram |
Default true: emit the s6 dependency graph into the bundle and docs. |
proxy
Present only when the app is proxied. The hub generates the SWAG sample confs from it and pushes them to the proxy confs repository.
port(default required). The upstream port SWAG proxies to.scheme(defaulthttp).subdomain(defaulttrue). Generate the subdomain sample.subfolder:{supported, base_url_note}: generate the subfolder sample; the note says where in the app the base URL is set.api_locations: Paths that bypass the auth includes (/api).websocket(defaultfalse). Add the websocket headers.extra_locations:{path, port, scheme, auth, raw}: morelocationblocks, with raw nginx directives if needed.notes: Comment lines at the top of the sample.
publish
Per-surface switches for app images. Base images and tools are left out of all of them regardless.
stores.unraid,portainer,casaos,umbrel,runtipi,cosmos(default alltrue). Generate that store’s template. Arcane follows Portainer.unraid.requirement,unraid.webui: Text for<Requires>; an override for the WebUI URL template.kubernetes.enabled,workload,persistence(defaulttrue,Deployment, required volumes). Generate the manifest;StatefulSetfor apps that need stable identity; which volume paths get a PersistentVolumeClaim.quadlet(defaulttrue). Generate the Podman quadlet unit.
What builder check enforces beyond the schema
builder check runs in every pull request and live build (from ghcr.io/linuxserver-playground/builder:latest), and these are the rules it adds on top of schema validation. Each finding names the file, the field as a JSON path and the line.
- Generated files (
README.md,AGENTS.md,LICENSE,.github/workflows/build.yml,pr-report.yml) must match a fresh render: an error on the live branch’s own check, a warning in PR and branch builds, where the live build re-renders after merge. DockerfileandDockerfile.aarch64differ only inFROMlines (a warning otherwise).- Every s6
run,finishandcheckscript is executable, starts with#!/usr/bin/with-contenv bashand carries# shellcheck shell=bash. kind: baseand abaseimage-*name go together.- The changelog is newest first with ISO dates.
release.branchis the branch checked out.require_assetspatterns need a release source and must compile as a regex.- Nothing under the repo looks like a credential (GitHub tokens, AWS keys, private keys).
The checks live in builder/check.py; add a test in tests/test_check.py with any new one.
Last updated
Edit this page on GitHub (opens in a new tab)