How hemi131/pierside works
Pierside is a Rancher Desktop–style Docker management UI, also usable with remote Docker engines over SSH. Users navigate the UI to inspect and manage containers and related resources; the backend exposes those operations to Docker, while event streaming supplies live state and alerts. Separate capabilities cover remote host files/performance, Swarm, port forwarding, and approval-limited MCP access. The graph combines documented product scope with shown wiring; some feature-to-router and feature-to-service links are dashed where implementation excerpts were not provided.
Main entry points: App.tsx Route and layout · ddclient.ts HTTP client · engines.py Engine management routes · routers Feature routers
Components 28
User interface
- Route and layout
ui/src/App.tsx - Engine management UI
ui/src/views/engines/EnginesView.tsx - Engine API client
ui/src/views/engines/engineApi.ts - Live engine state
ui/src/hooks/useEngine.tsx - HTTP client
ui/src/api/ddclient.ts - Container workflows
ui/src/views/containers - Images, volumes, networks
ui/src/views - Host and disk views
ui/src/views/serverfiles - Swarm workflows
ui/src/views/swarm - AI access UI
ui/src/views/access
HTTP and feature APIs
- Feature routers
backend/app/routers - Engine management routes
backend/app/routers/engines.py - Volume and file routes
backend/app/routers/volumes.py - MCP routes
backend/app/routers/mcp.py - FastAPI server
backend/app/main.py
Engine runtime
- Container operations
backend/app/services/containers.py - Docker API client
backend/app/services/docker_client.py - Engine manager
backend/app/services/engines.py - Engine settings store
backend/app/services/store.py - Live events and stats
backend/app/services/hub.py - Background engine watch
backend/app/services/watch.py
Host and integrations
- Port forwarding
backend/app/services/forwards.py - Host performance
backend/app/services/hostperf.py - Host and container files
backend/app/services/fsbrowse.py - MCP tools and access
backend/app/services/mcp_tools.py - Remote Docker over SSH
Other components
- Pierside user
- Docker engine
Connections 34
- Pierside user → Route and layout: navigates
ui/src/App.tsx - Route and layout → Container workflows: routes to
ui/src/App.tsx - Route and layout → Images, volumes, networks: routes to
ui/src/App.tsx - Route and layout → Swarm workflows: routes to
ui/src/App.tsx - Route and layout → Engine management UI: routes to
ui/src/App.tsx - Route and layout → Host and disk views: routes to
ui/src/App.tsx - Route and layout → AI access UI: routes to
ui/src/App.tsx - Engine management UI → Engine API client: activates
ui/src/views/engines/EnginesView.tsx - Engine API client → HTTP client: calls
ui/src/views/engines/engineApi.ts - Live engine state → HTTP client: requests state
ui/src/hooks/useEngine.tsx - Live engine state → Live events and stats: subscribes
- HTTP client → FastAPI server: sends requests
- FastAPI server → Feature routers: registers routes
backend/app/main.py - Engine management routes → Engine manager: manages
backend/app/routers/engines.py - Engine management routes → Port forwarding: removes engine forwards
backend/app/routers/engines.py - Engine management routes → Background engine watch: forgets engine
backend/app/routers/engines.py - Engine management routes → Container operations: queries status
backend/app/routers/engines.py - Volume and file routes → Host and container files: browses and writes
backend/app/routers/volumes.py - Volume and file routes → Container operations: uses container operations
backend/app/routers/volumes.py - MCP routes → MCP tools and access: dispatches tools
backend/app/routers/mcp.py - Container operations → Docker API client: uses
backend/app/services/containers.py - Docker API client → Engine manager: gets active endpoint
backend/app/services/docker_client.py - Engine manager → Engine settings store: persists configuration
backend/app/services/engines.py - Engine manager → Remote Docker over SSH: tunnels remote API
backend/app/services/engines.py - Docker API client → Docker engine: sends Docker API calls
backend/app/services/docker_client.py - Live events and stats → Docker API client: streams events and stats
backend/app/services/hub.py - Background engine watch → Live events and stats: monitors engines
backend/app/services/watch.py - Feature routers → Port forwarding: supports port forwarding
backend/app/routers/engines.py - Feature routers → Host performance: serves host metrics
backend/app/routers/engines.py - Feature routers → MCP tools and access: provides AI access
backend/app/routers/mcp.py - Swarm workflows → HTTP client: requests Swarm operations
ui/src/views/swarm/ServicesTable.tsx - Host and disk views → HTTP client: requests host operations
- Container workflows → HTTP client: requests container operations
- Images, volumes, networks → HTTP client: requests resource operations
ui/src/views/engines/EnginesView.tsx