Skip to content
Saurav Saini edited this page Jun 11, 2026 · 1 revision

DockLog Wiki

Self-hosted Docker log viewer and admin dashboard. Tail container logs, check host CPU and memory, and manage workloads from one lightweight image.

Website (full docs): docklog.dev/docs
Docker image: aimldev/docklog:latest
Server repo: github.com/dockloghq/docklog
License: MIT


Quick start

docker pull aimldev/docklog:latest

docker run -d \
  --name docklog \
  -p 8888:8000 \
  -v /var/run/docker.sock:/var/run/docker.sock \
  -v $(pwd)/data:/app/data \
  -e SECRET_KEY=your-secure-key-here \
  -e DB_PATH=/app/data/docklog.db \
  -e CLIENT_ACCESS=strict \
  aimldev/docklog:latest

Open http://localhost:8888

Default user admin
Default password admin123 (change on first login)

What DockLog does

  • Live log streaming over WebSockets (stdout/stderr)
  • RBAC — per-user container patterns (wildcards and regex)
  • Audit log — logins, container actions, shell use, admin changes
  • Host and container metrics — live stats plus ~30 days of history in SQLite
  • Container actions — start, stop, restart, remove, optional shell (permission-gated)
  • Small footprint — typically ~30–50 MB RAM, single container

Deploy options

Method When to use
docker run Fastest try on one host
Docker Compose Persistent config and upgrades

Compose example and env reference: docklog.dev/docs#configuration

Interactive builder (Compose or docker run): docklog.dev/#config-builder


Production checklist

  1. Set a strong SECRET_KEY (openssl rand -base64 32)
  2. Set ENV=production
  3. Keep CLIENT_ACCESS=strict
  4. Run behind HTTPS (Nginx, Traefik, or Caddy)
  5. Set TRUST_PROXY=true and ALLOWED_ORIGINS to your public URL
  6. Change the default admin password immediately

Details: Security & RBAC on the website


Projects

Project Access Notes
docklog Public Go server, Vue UI, Docker image

Native app downloads ship via GitHub Releases and Google Play. App setup: docklog.dev/app/docs


Get help


Suggested wiki pages (optional)

You can add these as separate wiki pages later:

  • Installation — Compose, docker run, reverse proxy
  • Configuration — environment variables
  • RBAC — container patterns and action permissions
  • Troubleshooting — proxy, WebSockets, login behind HTTPS
  • Upgrading — pull image and recreate container