Introducing a new way to review your PRs.

Read the announcement

getarcaneapp / arcane

Modern Docker Management, Designed for Everyone

View on GitHub

26 documents · Updated Oct 19, 2026

overview

Knowledge Base updated: 2026-10-18

Arcane knowledge base

Arcane is a Docker and Docker Swarm management platform. Its Go backend exposes domain APIs and realtime services; the Svelte frontend provides the management experience; the Go CLI automates administrative and workload operations.

The backend’s primary operational state is managed through Docker resources and domain services under backend/internal/**. Shared API-facing resource contracts live in types/**; frontend route, query, state, and UI code lives in frontend/src/**.

Projects, environments, containers, images, Swarm resources, and system operations are coordinated by backend modules. Persistent configuration, session and identity state, activity, jobs, backups, and security findings are owned by their corresponding backend services and exposed through API handlers.

flowchart TD
  U[Users and automation] --> FE[Svelte web application]
  U --> CLI[Go CLI]
  FE --> API[Go API and WebSocket services]
  CLI --> API
  API --> AUTH[Identity and access]
  API --> WORK[Workload management]
  API --> IMG[Images and registries]
  API --> PROJ[GitOps and projects]
  API --> OPS[Platform operations]
  API --> SWARM[Swarm orchestration]
  API --> SEC[Security scanning]
  API --> OBS[Activity and dashboards]
  WORK --> DOCKER[Docker runtime]
  SWARM --> DOCKER
  PROJ --> GIT[Git repositories]
  IMG --> REG[Container registries]
  SEC --> DOCKER
  API --> TYPES[Shared Go contracts]

Glossary

  • Environment — an Arcane-managed grouping and runtime context for workloads and related resources.
  • Project — a repository-connected deployment unit that can derive buildable and deployable resources.
  • Buildable — a project resource Arcane can build or deploy from repository configuration.
  • Image patch — a configured action that creates or applies a patched image in response to vulnerability findings.
  • Swarm stack — a Docker Swarm deployment composed of services and associated cluster resources.

Codebase-wide invariants

  • Shared resource contracts must remain compatible across backend, CLI, and integrations; changes belong in types/** and consumers must be updated together.
  • Backend domain behavior is exposed through module handlers and services under backend/internal/**; transport handlers should delegate domain work rather than duplicate it.
  • Frontend route state follows SvelteKit route boundaries in frontend/src/routes/**; route-specific UI should not become a shared-library dependency without a reusable contract.
  • Docker and Swarm mutations must flow through their domain services, such as backend/internal/container/** and backend/internal/swarm/**, so lifecycle behavior and activity reporting remain coordinated.
  • Operational and security actions that run asynchronously must be represented through the relevant job, activity, event, or domain-service path rather than only as frontend state.

Routing table