1
0
mirror of https://github.com/docker/docs.git synced 2026-10-23 18:09:02 +03:00

docs: explain offline kit checks

Kit authors lacked guidance for checking local sources without a daemon or sign-in. Document offline validation and inspection, including the policy checks they skip.
This commit is contained in:
David Karlsson
2026-10-20 08:10:52 +00:00
parent a356e2a80e
commit d0e44568ec

View File

@@ -662,14 +662,21 @@ and OpenCode reads `OPENCODE_CONFIG`. Don't use `setup.startup` for settings
the agent must read during initialization; startup commands don't gate the
entrypoint.
## Packaging and distribution
## Validate and inspect kits
The `sbx kit` subcommands validate, inspect, and publish kits:
Use these commands to check a kit before sharing it:
- `sbx kit validate <path>` — check that a kit directory or ZIP is
well-formed.
- `sbx kit inspect <path>` — display kit details. Add `--json` for
machine-readable output.
Add `--offline` to validate or inspect a local directory or ZIP without starting
the daemon or signing in. Offline checks skip kit source and signature policies;
they don't establish whether the kit is permitted to load.
## Packaging and distribution
- `sbx kit pack <path> -o <file.zip>` — package a directory as a ZIP file
for sharing.
- `sbx kit push <path> <ref>` — publish to an OCI registry (for example,