Skip to main content

Installation

TaskDaemon needs a running Docker engine and handler images available to that engine. Check docker info before starting the daemon; start Docker yourself if the engine is unavailable.

Docker Image

Create handlers.toml and build its handler images first. Keep SQLite on a persistent volume:
Use a release tag or digest validated for your deployment. An existing published image may lag the source changes described by these docs; build locally to run the current checkout.

Build from Source

The TaskDaemon repository is currently private, so source builds and the library Git dependency require authenticated GitHub access. The released Docker Hub image is the public installation path. Install Rust 1.91.0 (the verified toolchain for this release) and protoc (the Protocol Buffers compiler).
The CLI defaults to 2 workers and a batch size of 5. See environment variables for all defaults and overrides.

Build Docker Image Locally

As a Library

This example exposes HTTP and shuts down the workers when Ctrl+C arrives:
The library builder defaults to 5 workers and batch size 5. Keep its returned handle alive for the worker and metrics lifecycle, and call shutdown().await to finish active work and release unexecuted claims. grpc::serve(service, 50051) is available from task_daemon::protocol::grpc when adding a gRPC server.

CLI Options

Batch size uses DAEMON_BATCH_SIZE; there is no batch-size CLI flag.

Verify Installation