Homarr 2.15 connects dashboard apps to Docker
Homarr can now link dashboard tiles to Docker containers, exposing their state and permitted controls from one place.
A dashboard that knows what sits behind a link
In a homelab, it is common to have one tile for Laravel, another for Horizon, one for Redis, and another for the database. The problem starts when the dashboard only knows URLs: when something stops responding, I still need Portainer, SSH, or Docker Compose to find out what happened. Homarr 2.15 lets an app in the dashboard be associated with a Docker container and uses that relationship directly from the app widget. (github.com)
The association can be set in the app settings, and it can also be saved automatically when apps are imported from Docker. App widgets inherit that saved link, while still allowing a per-widget override when needed. Hovering over or focusing an app reveals the container state and the controls allowed by that endpoint. (github.com)
A practical Laravel and Compose setup
This is a useful addition for a Laravel stack running through Compose. I can keep direct access to the application, the queue dashboard, Redis, and PostgreSQL while adding operational context to every service tile. It does not replace proper observability, but it stops the dashboard from being a set of bookmarks with no connection to the running infrastructure.
If the web application is failing while its container is still running, the tile will not diagnose the issue on its own. Still, knowing that a process has stopped before opening a terminal removes one step from the investigation. It is also practical when a queue worker gets stuck and I need to restart an authorized service without switching tools.
The socket is convenient, not harmless
The most direct way to connect Homarr to Docker is mounting the local socket inside the Homarr container. The default path is /var/run/docker.sock, and the official documentation provides this Compose pattern. It is convenient for a single host, but it should be treated as a security decision rather than a routine volume mount. (homarr.dev)
services:
homarr:
image: ghcr.io/homarr-labs/homarr:latest
volumes:
- /var/run/docker.sock:/var/run/docker.sock
- ./homarr/appdata:/appdataMounting that socket gives Homarr broad control over the Docker host. If the dashboard is exposed, an administrator account or an application vulnerability can become a much bigger issue than an unavailable dashboard. Homarr's documentation recommends a least-privilege socket proxy when lifecycle actions are not required. (homarr.dev)
Remote endpoints and restricted access
Homarr also supports remote endpoints through DOCKER_HOSTNAMES and DOCKER_PORTS, which is useful when talking to a Docker proxy on another machine. For more explicit setups, DOCKER_ENDPOINTS defines a stable identifier, transport details, and the capabilities exposed to Homarr. Every endpoint needs inventory; optional capabilities are logs, lifecycle, and remove. (homarr.dev)
environment:
DOCKER_ENDPOINTS: >-
[
{
"id": "local",
"name": "Local Docker",
"kind": "docker",
"transport": {
"type": "socket",
"path": "/var/run/docker.sock"
},
"capabilities": ["inventory", "logs"]
}
]That example intentionally leaves out lifecycle and remove. For a read-oriented dashboard, container inventory and logs are often enough; start, stop, and restart permissions should exist only when there is a clear operational reason. With common compatible proxies, Homarr needs CONTAINERS=1 for inventory and POST=1 for standard lifecycle operations. (homarr.dev)
The limitations worth keeping in mind
A running container does not prove that Laravel is serving requests correctly, that Horizon is processing jobs, or that Redis is answering as expected. This integration reports Docker state and exposes the actions that have been authorized; it does not validate the functional health of the application. I still need health checks, logs, metrics, and alerts designed around each service.
It is also a bad idea to expose the Docker API over unprotected TCP. The documentation warns that an unauthenticated Docker TCP API provides control over the host, so a proxy should remain on a private network or be protected with TLS. On multi-host setups, I would choose TLS endpoints or a restricted proxy instead of opening the Docker daemon just to simplify the dashboard. (homarr.dev)
The upgrade runs the Docker-linked app migration automatically on the first start for SQLite and PostgreSQL installations. Existing apps keep their settings and can be linked later, but I would still back up Homarr data before upgrading. That is basic maintenance for any dashboard that has become part of daily homelab operations. (github.com)
Source: Homarr v2.15.0 Official documentation: Homarr Docker integration