-
Notifications
You must be signed in to change notification settings - Fork 2
Home
Saurav Saini edited this page Jun 11, 2026
·
1 revision
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
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| Default user | admin |
| Default password |
admin123 (change on first login) |
- 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
| 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
- Set a strong
SECRET_KEY(openssl rand -base64 32) - Set
ENV=production - Keep
CLIENT_ACCESS=strict - Run behind HTTPS (Nginx, Traefik, or Caddy)
- Set
TRUST_PROXY=trueandALLOWED_ORIGINSto your public URL - Change the default admin password immediately
Details: Security & RBAC on the website
| 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
- FAQ: docklog.dev/faq
- Issues: github.com/dockloghq/docklog/issues
- Releases: github.com/dockloghq/docklog/releases
- Email: support@docklog.dev
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