ImbatranimOS — one container, one port, the browser is the display

ImbatranimOS — one container, one port, the browser is the display An architecture diagram generated by Archify. Browser · the display · Architecture component Browser the display Caddy · TLS :443 · Architecture component Caddy TLS :443 NestJS · one port: statics + REST + WS · one Alpine container — rootless dockerd · prod target NestJS one port: statics + REST + WS prod target React desktop · @imbatranim/core + add-ons · one Alpine container — rootless dockerd React desktop @imbatranim/core + add-ons PTY · a real shell · one Alpine container — rootless dockerd PTY a real shell Filesystem + /proc · real, not simulated · one Alpine container — rootless dockerd Filesystem + /proc real, not simulated Home volume · named, survives rebuilds · one Alpine container — rootless dockerd Home volume named, survives rebuilds HTTPS /imbatranim-os serves the built statics /api/pty over WS read + write mounted at $HOME one Alpine container — rootless dockerd Legend Frontend Backend Database Cloud External

One container, one port

  • • In prod NestJS serves the built desktop, the REST API and the WebSockets together
  • • The dev target splits into two ports for Vite HMR; prod does not
  • • So 'is it up' is one health check, not a matrix of them

The machinery is real

  • • A real PTY behind /api/pty, not a fake terminal
  • • A real filesystem and a real /proc, so the monitor reads actual numbers
  • • A named home volume, so a rebuild does not wipe what you made

Least privilege, structurally

  • • Rootless dockerd under an unprivileged services account
  • • The docker group is root-equivalent, so membership was refused
  • • Container root maps to an unprivileged host subuid