Get started
Features
Every LogDeck feature: live and stored container logs, alerting, stats, multi-host, Compose stack actions, a web terminal, the CLI, and MCP.
Updated
This page lists everything LogDeck does, grouped by area. LogDeck is a self-hosted log viewer, alerting tool, and control panel for Docker and Podman, and each section links to its full guide where one exists.
Real-time log streaming
Container logs stream to the browser over a WebSocket as they are written.
- Live log streaming with automatic updates
- Auto-scroll toggle for following new lines
- Configurable tail size, and pause with a count of buffered lines
- Timestamps you can show or hide
- Both stdout and stderr streams
Log persistence and history
LogDeck stores logs locally, so the history outlives the container that wrote it.
- LogDeck tails every container on every host into a local SQLite store, enabled by default
- A Live | History toggle in the log viewer searches everything stored, on the server
- History survives restarts, and rebuilds that give a container a new ID, such as
docker compose up --build - Containers that no longer exist appear under a Removed filter, with their stored logs still readable
- Retention caps evict the oldest lines first, at 50 MB per container and 1024 MB in total by default
- Search every container's stored logs at once, merged by time, or one Compose stack's
Alerting
LogDeck tells you when a container dies, gets OOM-killed, fails its health check, or starts logging errors.
- Event rules on container death with a non-zero exit, OOM kills, and unhealthy health checks
- Log rules on a minimum level, a regex pattern, or both
- Rate thresholds such as "5 matches in 60 seconds", and per-rule cooldowns that report how many matches they suppressed
- Rules can target hosts, container names, or Compose projects
- Notification channels: Slack, Discord, email over SMTP, PagerDuty and Opsgenie (resolved when a collection failure clears), ntfy, Gotify, Telegram, and a generic JSON webhook
- Alert history with the delivery result of every notification
Backup and restore
LogDeck backs up its own state from Settings while it keeps running.
- One file with the settings, alert rules and channels, alert history, the audit log, and optionally the stored logs
- Optional credentials and optional passphrase encryption
- Scheduled backups with a retention count, written to a folder you can mount off the host
- Restores are checked in full and previewed before anything changes, then applied on the next start with the old data kept aside
Log redaction
LogDeck can mask secrets in log lines before it stores them or serves them anywhere.
- Built-in patterns for Authorization headers, bearer tokens, passwords and secrets, URL credentials, common API keys, and JWTs
- Custom RE2 patterns with their own replacement text, targeted at hosts, containers, or Compose projects
- A preview that tries patterns on sample lines without saving them
- Applies to live views, stored history, the API, the CLI, MCP, downloads, and alert notifications, while alert rules still match the original line
Audit log
LogDeck records the changes made through it, from the UI, the CLI, MCP, or the API.
- Who made it (a user or an API token), the action, the host and target, when, and the result, including refused attempts
- Container actions, terminals and commands, env and resource changes, deploys, settings, API tokens, backups, and log deletion
- Reads and request bodies are never recorded, so env values, passwords, and tokens stay out of it
- Filter by who, action, target, result, and time in Settings, or with
logdeck audit
Filtering and search
Search and filters narrow a log view down to the lines you need.
- Full-text search with match navigation, in highlight or exclude mode
- Field filters on JSON and logfmt lines, such as
level=error user_id=42 - Log level filter: TRACE, DEBUG, INFO, WARN, ERROR, FATAL, PANIC, and unclassified lines
- Regex matching
- Time range presets and a custom calendar range
- Color-coded log levels, collapsible JSON lines, and line pinning
Field filters
A key=value term in the search box keeps only the lines whose field has that value. key!=value keeps the lines where it doesn't, including lines without the field. Terms are separated by spaces and must all match. Anything in the box that isn't a term is searched as text, as before.
text
level=error user_id=42 path=/checkout
http.status=500 msg="payment declined"- A JSON line is looked up by key, or by dot path for nested objects (
http.status). A key that itself contains dots, such aslog.level, is matched first. - Any other line is read as logfmt: its
key=valueandkey="quoted value"pairs count, even inside a sentence. - Values compare case-insensitively. A number matches a JSON number by value, so
42matches42.0. Quote a value that contains spaces. - In an expanded JSON line, click a value to add it as a filter.
- Live view filters in the browser. History, stack history, and the Search page filter on the server.
- Regex mode takes the whole box as a pattern, so field terms work in plain-text mode only.
Log export
Download container logs for offline analysis or to archive them.
- Download the filtered view as JSON or TXT
- Works in both Live and History mode
- Keeps timestamps and log levels
- Copy single lines or a multi-line selection to the clipboard
Container discovery
LogDeck finds every container on your hosts and keeps its status current.
- Status updates driven by the engine's event stream
- Container details: name, image, status, and uptime
- Health badges (healthy, unhealthy, starting) for containers with a healthcheck, on Docker only, see engine support
- Host information: engine version and container count
- System resource usage: CPU and memory
- Grouping by Compose project
Multi-host management
One LogDeck dashboard works across many hosts and keeps every action scoped to the right daemon.
- Connect local sockets, remote TCP endpoints, or SSH hosts with
DOCKER_HOSTS - One container list, with host badges that show where each container runs
- Lifecycle actions, environment variable edits, and log streaming all go to the container's own host
- With no hosts configured, LogDeck auto-detects a local Docker or Podman socket
Container management
Start, stop, and inspect containers from the UI.
- Start, stop, and restart containers
- Remove containers, with a confirmation step
- Detailed container information
- Environment variables, mounted volumes, exposed ports, labels, and metadata
Environment variable management
View and change a container's environment variables from the UI.
- Display all environment variables
- Add, edit, and delete variables. Saving recreates standalone containers
- Bulk import from a
.envfile for direct container edits - Coolify applications and services read and save their environment in Coolify, then offer a separate deployment request. Saved variable settings and preview scopes are preserved
- Dokploy applications and Compose deployments edit saved environment text after ownership confirmation, preserve related settings, and deploy separately. Compose variables follow the Compose file's references or
env_file; preview and database edits stay in Dokploy - Saving to Coolify or Dokploy first lists the variables it adds, changes and removes. For applications, the editor lists saved values the running container does not have yet, so a save is not mistaken for a deployment
- LogDeck detects Coolify-managed containers and labels them in the UI
- Works with Docker Compose setups
Compose stack tools
Act on a whole Compose stack instead of one container at a time.
- Start, stop, or restart every container in a stack from its group header
- Aggregated stack logs merge all of a stack's containers into one stream, ordered by timestamp
- When some containers' logs cannot be read, a banner lists each one with the reason and a Retry button. It clears once they are read again, and downloads carry the same warning
- Color-coded container badges show which container wrote each line
- Works with Docker Compose and podman-compose projects
Stats and trends
Live resource usage with a short history, across all your hosts.
- Live CPU and memory readings per container
- Sparklines covering the last five minutes
- Per-host engine stats in multi-host setups: CPUs, memory, container counts, and version
- System stats for the machine running LogDeck
Resource limits and restart policies
Change container resources without recreating or restarting anything.
- Edit memory limits, CPU limits, and restart policies from the container page
- LogDeck applies changes live through the engine's update API, so there is no downtime
- Plain Compose containers update live too. Set the limits in the Compose file as well, or the next
docker compose updrops them - Coolify applications and Dokploy applications save memory and CPU limits in the platform instead, and deploy separately. The panel shows the saved limits next to the ones the container runs with until a deployment applies them
- Limits LogDeck cannot save in their platform, such as Coolify services, Compose deployments on Coolify or Dokploy, and other Swarm services, are shown but locked, with the reason and a link to the platform. The restart policy of platform-managed containers is left to the platform
- Human-friendly inputs such as
512mand1g, with validation - Blocked in read-only mode
Image updates
See which containers run an older image than their tag now points to, and update them.
- An Update badge in the container list, and the status on the container page's Overview panel with a Check now button
- LogDeck compares the digest the image was pulled by with the registry's current digest for the tag. Checks run in the background, at most once every six hours per tag and host, so the container list never waits on a registry and Docker Hub rate limits are respected
- Locally built images, and containers pinned to a digest or created from an image ID, show as unknown
- Private registries use the credentials in LogDeck's own Docker config (
~/.docker/config.json, or the directory inDOCKER_CONFIG), as the docker CLI does. When LogDeck runs in a container, mount that file into it. The Docker daemon itself keeps no registry credentials - Standalone containers are pulled and recreated with the same settings. A failed pull leaves the container untouched, and a failed recreate restores the original
- Coolify containers are updated by a Coolify deployment, and Dokploy containers by deploying from the Environment panel or in Dokploy
- Compose containers are updated with
docker compose pullanddocker compose up -d, Swarm tasks withdocker service update, and Quadlet containers by pulling and restarting their systemd unit. LogDeck shows the command instead of recreating them - Podman's Docker-compatible API cannot look up registry digests, so detection is unavailable on Podman hosts; pulling and recreating still works
- Updating is blocked in read-only mode; checking is not
Images, volumes, and networks
See what else lives on your hosts besides containers.
- Read-only listings of images, volumes, and networks
- Aggregated across all configured hosts
- Text filtering and per-host error reporting
Command-line interface
The logdeck CLI talks to the server's HTTP API and is built for scripts and AI agents.
- List containers and stacks, inspect containers, read, follow, and search logs, and check stats from the terminal
logdeck grepsearches the recent logs of every running container across all hosts- Lifecycle actions, resource limits, and Compose stack controls
logdeck alertsmanages alert rules, notification channels, and alert historylogdeck auditlists who changed whatlogdeck loginsaves named contexts, kubectl-style- Table output for people, and JSON or NDJSON output (
-o json) for machines
MCP server
logdeck mcp lets an AI assistant query and manage your containers over the Model Context Protocol.
- A stdio MCP server for Claude Desktop, Cursor, Claude Code, and other clients
- Read tools for containers, logs, cross-container search, events, stats, and stored history
- Action tools for lifecycle, removal, one-shot exec, environment variables, and settings
- The API token decides what it can do, with no flags to configure. A read-scoped token cannot change anything, and an admin token has the same reach it has in the UI
- Uses the same HTTP API as the web UI and CLI, so there is no new server and no new auth
Web terminal
Open a real shell in any running container from the browser.
- Terminal access over WebSocket
- Full terminal emulation with XTerm.js
- 10,000 lines of scrollback
- Copy to clipboard
Scoped API tokens
The CLI and other tools get their own credentials, so nobody has to share your login.
- Create and revoke tokens under Settings > API Access
- Tokens start with
ldk_and are shown only once, at creation - Two scopes:
adminfor full access andreadfor read-only - A read token cannot change anything, open the web terminal, read container environment variables, read settings, or read alert rules, channels, and history
- Sent as an
Authorization: Bearerheader on the HTTP API - Work alongside the JWT sessions the web UI uses
Optional authentication
Protect a LogDeck instance with a login, or run it open.
- JWT-based login with a 7-day session token
- Enable it from the Settings page, or pin it with environment variables
- Environment-configured passwords are bcrypt hashes
- Rate-limited login endpoint
- Can be turned off entirely
Read-only mode
Read-only mode stops LogDeck from changing your containers, while you keep reading their logs.
- Blocks starting, stopping, restarting, and removing containers
- Blocks Compose stack actions, environment and resource edits, image updates, and the web terminal
- Toggle it from the Settings page, or pin it with the
READONLY_MODEenvironment variable
Interface
- Dark and light mode, following your system preference, with a manual toggle
- Responsive layout for desktop, tablet, and mobile
- Toast notifications that confirm actions
- Keyboard shortcuts, with a cheat sheet on
? - Virtualized log lists that handle thousands of lines without slowing down
Engine support and caveats
LogDeck talks to Podman through its Docker-compatible API socket, rootless or rootful, and can mix Docker and Podman hosts in one multi-host setup. It auto-detects local sockets in this order: Docker, then rootless Podman, then rootful Podman.
Health badges are Docker-only. LogDeck reads a container's health from the engine's container list. Docker includes it there, but Podman's Docker-compatible list API does not, so containers on a Podman host show no health badge even when they define a healthcheck. Everything else works the same on both engines.
Technical details
- The web frontend is embedded in the Go server binary, so there is one binary to deploy.
- There is no external database. The config file, the SQLite log store, the alert history, and the audit log all live in one directory,
/databy default. Mount it as a volume and there is nothing else to manage. - LogDeck is open source under the GPL-3.0 license.
Have a feature request? Open an issue on GitHub.
Spot a mistake? Edit this page on GitHub.