Docker inventory cache¶
Compose/container lists are a DB snapshot, not a blocking full SSH inventory on every page open.
| Behaviour | Detail |
|---|---|
| Storage | Per-server docker_inventory_* columns |
| Open Docker page | Renders last snapshot immediately |
| Refresh | Background L1 collect (no expensive mount du on list path) |
| Triggers | Stale on open, after mutations, fleet job ~every 10 minutes, Force refresh |
| Stale UI | Banner “Inventory as of …” / “Refreshing…”; last good list kept |
| Feature gate | Only servers with Docker feature on |
Container expand¶
Full mount paths + per-path host du run on expand (GET …/docker/container/mounts). List stays fast.
Looks wrong after host-side changes?
Use Force refresh on the Docker page.