Repository navigation
Block Builder
Plan a setup like the media server or an online shop as blocks and routes, then see it as a flowchart and as factory blocks. The plan stays on this device. Nothing is deployed: it exports as a plan, Compose or Kubernetes YAML for you to review.
Open it from Tab → Cluster Codex → Build a flowchart, or Esc → Docker media lab → Block builder.

| Button | What it does |
|---|---|
| Copy current map | Copies the world you are in: every workload and volume becomes a block, and every declared route becomes a route. |
| Media preset / Shop preset | Starts from the media server or the online shop. |
| Add workload | Adds a block. Give it a name, a container image and an appearance, then Apply block. |
The plan has two views of the same data, the Graph (a flowchart) and Factory blocks (the grid in 3D), and editing either one changes both.
Each block has an appearance that says what it is, readable without color:
| Appearance | Use |
|---|---|
| App | Dashboards, media players, web apps |
| Worker | Workers, importers, downloaders, searchers |
| Storage | Volumes; it has file and mount sockets |
| Gateway | VPN and ingress |
| Reporting | Exporters, collectors, metrics stores |
| Generic | Anything else |
On the factory grid, Place (or Place here with X, level and Z), Move, Rotate and Undo work with the mouse, keyboard or touch. A cell that is already taken is refused, with a message. A block can carry a VLAN ID (0–4094) as a label of the intended network. The real network has to be set up separately.
Inspect source jumps from a copied block to the real container's network or files.
Pick a source block, a kind and a target block, then Preview route and Confirm route. The kinds are API, Metrics, Files, VPN, Mounts, LAN, HTTPS and Alerts. Each one connects matching sockets in a fixed direction, and a route can carry a target port (for example 3000/tcp). Mounts can be marked Read-only mount with a mount path. A preview changes nothing until you confirm. Removing a block removes its routes, and Undo brings both back.
A plan holds up to 128 blocks and 512 routes. Routes with mismatched sockets, duplicate routes and routes to unknown blocks are refused before anything is saved.
- Save locally keeps the plan on this device and draws its blocks in the factory. Visit factory plan flies you there.
- Plan JSON opens the plan as JSON in the text editor. Use this plan loads an edited or pasted plan, and an invalid one is refused while the saved plan stays as it was. Older saved flowcharts load and are upgraded.
- Compose preview writes the plan as Docker Compose, and Edit / export YAML as Kubernetes or k3s YAML. Exporting a file needs your approval. No cluster or engine is changed.


Related: Connection whiteboard · Docker media lab · Porter and Bob
Start
Visual guides
- Media demo
- Docker media lab
- Connection whiteboard
- Block builder
- VPN routes
- Ports and shared disks
- Mobile demo
Operations
- Storage and screens
- LiveView
- Krew and Foreman
- Porter and Bob
- Text editor
- Logs
- Teams
- Administration
- Server mode
- Host service
- Docker hosts
- Security
- Known limitations
Development and reference