wardn bundle
Copy a release into one archive with create, and load it into a private registry with push, for an install with no internet access.
wardn bundle carries a Wardn release into a network that cannot reach ghcr.io. create runs where the release is reachable and writes one archive; push runs inside and loads it into your registry. Install without internet access walks through the whole install. Neither command calls the Wardn API, so --api and --token are not needed.
Both read registry credentials from your Docker configuration, the same as docker login writes, including credential helpers.
create
wardn bundle create [--version <version>] [--from <registry>] [-o <archive>] [flags]Copies the server, web app, tools and operator images, the wardn-tiny and wardn-standard charts, and the Postgres image of wardn-tiny, each resolved from its tag to a digest, with every platform. For each it also copies what is attached to that digest: OCI referrers, and cosign's sha256-<hex>.sig, .att and .sbom tags. An SPDX SBOM found in an attestation is also written as sboms/<component>.spdx.json.
Every blob is checked against its digest as it is written, so a registry that serves the wrong bytes fails the run. Signatures are not checked: run verify-release.sh first.
| Flag | Default | What it does |
|---|---|---|
--version | the CLI's version | The release to copy. |
--from | ghcr.io/future-pirate-king | Registry and namespace to copy from. |
--postgres-image | docker.io/library/postgres:18-alpine | The bundled database's image, with its tag. "" leaves it out. |
-o, --output | wardn-bundle-<version>.tar | The archive. Written to a temporary file in the same directory and renamed when complete. |
--plain-http | off | Reach the source registry over plain HTTP. |
--no-toolchains | off | Leave out the agent software (Claude Code, Codex, Hermes, OpenClaw). |
--manifest-url | https://get.wardn.space/agents/manifest.json | The signed agent manifest to carry the software of. One that no trusted key signed is refused. |
--manifest-key-file | none | One more public key (PEM) the manifest may be signed with, for a manifest you sign yourself. |
--platform | linux/amd64 | The platform of the sandboxes to carry agent software for; repeat for more. |
It prints each component as it goes, on standard error, then Wrote <archive>: Wardn <version>, <n> images and charts, <m> with signatures or attestations.
push
wardn bundle push <archive> --registry <host[:port][/prefix]> [--values <file>] [flags]Copies every component of the archive, with everything attached to it, to the registry, keeping each manifest's digest. Images land under <registry>/wardn/ and Postgres under <registry>/library/, whatever registry the bundle was made from. A referrer is pushed after the image it refers to; on a registry without the OCI referrers API, cosign's fallback tag is kept up to date instead.
Blobs are read straight from the archive and never unpacked to disk. A damaged archive fails: the registry rejects a blob whose bytes do not match its digest.
| Flag | Default | What it does |
|---|---|---|
--registry | required | Where to push, such as registry.internal:5000 or registry.internal:5000/mirror. |
--values | wardn-values-<version>.yaml | The Helm values file to write. It sets image.server, image.web, image.tools and postgres.bundled.image to the pushed images, each with its digest. |
--plain-http | off | Reach the registry over plain HTTP. A registry on localhost always uses it. |
It prints Pushed Wardn <version> to <registry> and wrote <values file>., then the operator image to pass to wardn cluster connect --image. Running it again with the same archive changes nothing.
toolchains
wardn bundle toolchains ARCHIVE --out DIRUnpacks the agent software a bundle carries into DIR as a mirror: manifest.json, manifest.json.sig and each file under its sha256. Serve DIR from any static file server and give the agent runtime its address with wardn agents enable --manifest-url <address>/manifest.json --mirror-url <address>. The runtime still checks the manifest's signature and every file's hash. Install without internet access has the whole flow.