Skip to content

Docka v0.8.9

Choose a tag to compare

@Sanix-Darker Sanix-Darker released this 04 Nov 23:29

Docka v0.8.9

Docka v0.8.9 is the next stable distributed release after v0.8.6. It brings the redesigned top-navigation app shell, new app operations (volume backups, database restores, pull-request previews, edge controls, an app console, and app diagnosis), a reviewed service catalog on top of Docker Compose import, and a large round of authorization, lifecycle, and installer hardening. Source range: v0.8.6..4cbdb424.

Product Highlights

  • New application shell: a top bar with six section tabs and one section sub-navigation, an Overview page with a setup checklist, KPI strip, needs-attention feed, and recent deployments, plus a running-operation pulse and a pending-changes banner.
  • Calmer collections and detail pages: one row menu per resource, a shared detail header with primary, split, and overflow actions, live status badges, a "Show as CLI / API" disclosure, and a step-grouped deploy log viewer with level filters, search, copy, and download.
  • App volume backups: named Docker Compose volumes now persist across deploys and can be backed up into encrypted artifacts and restored from the app's Volumes section, the REST API, and the CLI.
  • Database restores: restore a managed database from an uploaded dump, a bucket object, or an existing export, with restore history on the database detail page and a docka databases restore CLI command.
  • Pull-request preview deployments for git apps on registered servers, with a Previews tab and docka apps previews.
  • Per-app edge controls (maintenance mode, basic auth, redirects, noindex) rendered into the agent Caddyfile without a redeploy, plus an app console terminal and an app diagnosis view (GET /apps/{id}/diagnosis, docka apps diagnose).
  • Reviewed service catalog inside Docker Compose import, including stateful templates that keep their data in declared named volumes.

SaaS Updates

  • Boxes: scoped reads, authorized mutations and terminals, bulk-delete preflight, guest routing through the supervisor, and quieter monitor/reconcile warnings.
  • Cloud providers: shared credential mapping, classified provider errors with safe retries, least-privilege Azure, Linode, DigitalOcean, Vultr, and Scaleway changes, real provider buckets, Cloudflare DNS automation for custom domains, and snapshot restores that mint a fresh server identity.
  • Docka Assistant: an in-app operations assistant with a side panel, full-screen sessions, typed confirmation before actions, a monthly budget on paid plans, and retention cleanup, built on a shared MCP tool catalog.
  • MCP operator surface: v2 read tools, two-phase approved actions, OAuth client metadata hardening, and untrusted-output marking.
  • Hosted-only surfaces: source control integrations, uptime and cron history, team 2FA visibility, API-key expiry warnings, landing page, pricing, and launch video updates.

Distributed Updates

  • The distributed bundled agent and BYOS installs keep the compatibility agent API bind when AGENT_API_ALLOWED_SOURCES is unset, so existing self-hosted targets keep connecting after upgrade.
  • Docker Compose import now includes the reviewed service catalog, and imported apps keep their named volumes across redeploys.
  • Release installer and agent installer archives are validated before extraction, and the embedded installer compatibility asset is served by the distributed binary.

Fixes & Patches

  • Authorization hardening across servers, apps, functions, databases, storage, and providers: tenant-scoped reads and mutations, request-bound server jobs, and accepted-membership checks for every remaining role check.
  • Secret encrypt/decrypt errors now fail closed instead of being swallowed; known-host files and managed path operations are permission-checked and confined.
  • Uniform JSON error envelope and Idempotency-Key support on the API; the CLI gains docka api, JSON-line --wait progress, apps restart --wait, and a documented exit-code contract; an OpenAPI spec is published.
  • Deployment rollback now redeploys the target, deployment finish times come from the real run, and auto-deploy skips commits with skip markers.
  • Database runtime recovery: legacy owner credentials, historical passwords, port-binding drift, OOM-limited runtimes, and private-by-default provisioning.
  • Agent and worker path safety: isolated offline queue filenames, bounded database artifact paths, owner-bound export filenames, and rejected build-workspace symlink escapes.
  • New ntfy and Telegram alert channels, missed backup policy runs recorded, custom domain verification token regeneration, and PostgreSQL JIT disabled on server and worker pools.
  • Frontend request and interaction lifecycles are owned and cancelled on navigation, fixing stale searches, pickers, and duplicate polling.

Distributed Runtime & Packaging

  • Linux amd64 and arm64 server archives contain docka-server, docka-worker, the Docker Compose bootstrap, a distributed-only .env.example, migrations/distributed_schema.sql, migrations/002_seed.sql, migrations/init-distributed-schema.sh, and the matching raw agent under agent-binaries/.
  • Every server, worker, agent, and CLI binary is garble-obfuscated; the agent is also UPX-compressed and embeds the release public key so signed self-updates verify checksums.txt.sig.
  • The distributed schema is regenerated from the canonical schema, with stale forward migrations folded in and database gateway columns added before their indexes.
  • The release surface is one signed artifact set with an exact asset manifest; no agent tarballs are published.

Start Docka Locally

curl -L -o docka-linux-amd64.tar.gz https://github.com/docka-dev/docka-releases/releases/latest/download/docka-linux-amd64.tar.gz
mkdir docka-distributed
tar -xzf docka-linux-amd64.tar.gz -C docka-distributed
cd docka-distributed
cp .env.example .env
# Replace every change-me / sample value in .env before the first start.
docker compose --env-file .env up -d --build

Prefer the one-line installer, which generates the secrets for you: curl -fsSL https://docka.dev/install.sh | sh.

Downloads

Server (Distributed Edition)

Platform Architecture File
Linux amd64 docka-linux-amd64.tar.gz
Linux arm64 docka-linux-arm64.tar.gz

Agent (Obfuscated)

Platform Architecture File
Linux amd64 docka-agent-linux-amd64
Linux arm64 docka-agent-linux-arm64

CLI

Platform Architecture File
Linux amd64 docka-cli-linux-amd64.tar.gz
Linux arm64 docka-cli-linux-arm64.tar.gz

checksums.txt and its detached signature checksums.txt.sig cover every file above.

Compatibility & Notes

  • Linux amd64 and arm64 only. No source checkout or .git is required on the host.
  • The server archive does not include the canonical SaaS migrations/001_schema.sql.
  • Boxes, cloud provisioning, billing, the Docka Assistant, MCP, source control integrations, uptime monitoring, cron jobs, audit logs, and team features are SaaS-only and are not part of the distributed binary.
  • Cloudflare DNS automation needs a cloud provider connection and is SaaS-only; custom domain DNS status works in both editions.
  • To restrict the agent API on BYOS targets, set AGENT_API_ALLOWED_SOURCES to your control-plane sources; when it is unset the compatibility bind is kept.