Documentation
¶
Overview ¶
Command moat-init is the container entrypoint: the Go port of the shell entrypoint that used to live at internal/deps/scripts/moat-init.sh (see internal/moatinit for the phases and docs/plans/2026-07-01-moat-init-go-rewrite-plan.md for the parity contract).
It is cross-compiled static (CGO_ENABLED=0) for linux/amd64 and linux/arm64 by `go generate ./internal/initbin`, embedded into the moat host binary, and shipped into run images as /usr/local/bin/moat-init.
Click to show internal directories.
Click to hide internal directories.