Documentation
¶
Overview ¶
Package main is the Doki daemon. Doki daemon entry point.
Responsibilities:
- parse flags and env
- structured logging (slog JSON in prod, text in dev)
- data dir bootstrap
- storage / image / network / runtime init
- HTTP API server (Docker-compatible API)
- graceful shutdown
- state recovery on restart
Click to show internal directories.
Click to hide internal directories.