← All projects

Container orchestration

orch

A Go control plane and worker agents for operating small Docker clusters.

Development platform

01 · The problem

Make the workflow clear.

A small Docker fleet still needs scheduling, reconciliation, and a clear deployment history. Running containers by hand leaves those responsibilities scattered across scripts and individual machines.

02 · The approach

Give each part a job.

A CLI talks to the server API. The control plane schedules work and reconciles desired state; node agents poll for assignments and operate Docker. Logs, events, and rollout status expose what each component actually observed.

  1. Operator CLI
  2. Server API
  3. Scheduler + reconciler
  4. Node agent
  5. Docker Engine

03 · A practical starting point

Try the documented workflow.

Prerequisites

Go 1.25+Docker with ComposeAn available local development port
./scripts/dev-up.sh
go run ./cmd/orch service ls
go run ./cmd/orch events --service http-api

Run from a repository checkout after following its quickstart. The event command assumes the demo service exists.

Documentation checked October 12, 2026 against source cbfc94a ↗. Follow that version's setup instructions before running the commands.

Walk through the architecture.

Conceptual walkthrough based on the source documentation. These controls explain the flow; they do not execute commands or connect to infrastructure.

  1. The CLI sends the desired service configuration to the server API.
  2. The API accepts operator requests; inspect the runtime durability boundaries in the README.
  3. Scheduling and reconciliation turn desired state into node assignments.
  4. The agent polls for assignments and reports what happened.
  5. Docker executes the container; logs and events expose the observed result.

04 · The result

Something you can inspect.

The repository provides a local development stack, operator commands, and a concrete separation between control-plane decisions and node execution. The README identifies restart-safe server state wiring as further work; a PostgreSQL store alone is not evidence of a durable runtime.

05 · Verification in view

Validate, deploy, and inspect a local container

Actual output from a temporary loopback-only orch server and agent, using a real local Docker container. The control plane uses its in-memory development runtime. The service, agent, and server were removed after the check.

Terminal replay of actual local output captured October 12, 2026. No audio. Source cbfc94a ↗.

Read the captured command output

orch validate website-demo.yaml

service spec "codepop-website-demo" is valid

Exit status: 0

orch deploy website-demo.yaml

ID                                    NAME                  IMAGE              REPLICAS  VERSION
90c36f3a-c7fc-4a05-b4ae-3d5ce0f7a1c2  codepop-website-demo  nginx:1.27-alpine  1         1

Exit status: 0

orch service ps codepop-website-demo

ID                                    SERVICE                               NODE                                  DESIRED  ACTUAL   IMAGE              RESTARTS
76bd3f66-7451-47bf-955b-4aa3145cc347  90c36f3a-c7fc-4a05-b4ae-3d5ce0f7a1c2  644eac5c-fcb0-406b-8f37-dc0ca7c45a2c  running  running  nginx:1.27-alpine  0

Exit status: 0

orch events --service codepop-website-demo

TIME                  SEVERITY  TYPE             SOURCE        OBJECT                                        MESSAGE
2026-10-12T19:57:36Z  info      service.created  controlplane  service/90c36f3a-c7fc-4a05-b4ae-3d5ce0f7a1c2  service created

Exit status: 0

orch documentation homepage
Documentation preview. Explore the current documentation ↗

Connect the implementation to the ideas.

Explore guided learning paths →

Based on the repository README and its documented runtime boundaries. Source and current status ↗