Repository navigation
docs: document Docker image tags and run (#10) - #81
Merged
Merged
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Closes Gitea https://git.pro-dukt.de/eslider/2dph/issues/10 (epic #12, phase Ф2 — docs).
What
### Run with Dockerblock under Quick start: pull, averified
docker run,/health, MCP URL, one-line tag legend, link to therunbook anchor. No rewrite of the existing showcase text.
## Docker images and tagssection (after Toolchain):vX.Y.Z/latest/api/sha-<12>and which to use(prod pins
vX.Y.Z;apifor tests only), upgrade/rollback flow;docker runplus whyKB_HOST=0.0.0.0and--user "$(id -u):$(id -g)"are required;
org.opencontainers.image.version/docker buildx imagetools inspect,revision/source/created;workflow_dispatch, push tomain→api+sha-<12>only, backfill re-points an existing digest (feat: bin/brain/serve.go; search backend is Go not Python #9).Verified against the real image
ghcr.io/eslider/2dph:api(linux/amd64, pulled 2026-11-11):docker runcomes uphealthy;/health→{"status":"ok"},/openapi.json→ 200,POST /mcptools/list→search/get/… tools;KB_HOST=0.0.0.0the published port resets (serve binds 127.0.0.1);--userthe container exitsOpenDatabase: failed to open database(image uid 1001 vs host-owned
var/);docker run --rm <image> version→unknown command: version, so the docs usethe OCI label only (no invented verb);
docker image inspect … org.opencontainers.image.versionisnullon today'sapi— labels arrive with feat: bin/brain/serve.go; search backend is Go not Python #9. GHCR currently hasapi+ 46sha-*, nolatest/v*yet; the runbook says so explicitly.Not touched
.github/,bin/, Go code (issue #9 owner). OnlyREADME.mdanddocs/runbook.mdchanged. No internal hosts/PII added; all relative links resolve.Review checklist