Skip to content

Diagrid dashboard run command in docs panics on Linux #5099

@irbekrm

Description

@irbekrm

Describe the issue
When I follow the steps in getting started guide on a Linux machine and run docker run -p 8080:8080 ghcr.io/diagridio/diagrid-dashboard:latest it panics:

$ docker run -p 8080:8080 ghcr.io/diagridio/diagrid-dashboard:latest
time="2026-04-02T07:39:53.048040523Z" level=info msg="Can not load statestore from localhost, trying docker internal network" instance=acd7d08d96a8 scope=diagrid.dashboard.statestore type=log ver=unknown
panic: redis store: error connecting to redis at host.docker.internal:6379: dial tcp: lookup host.docker.internal on 192.168.1.254:53: no such host

goroutine 1 [running]:
github.com/diagridio/diagrid-dashboard/cmd.Run()
        /app/cmd/app.go:24 +0x4b4
main.main()
        /app/main.go:6 +0xf

Seems like the dashboard tries to connect to Redis on host using host.docker.internal DNS name, but this only resolves on Mac/Windows, not Linux.

URL of the docs
https://docs.dapr.io/getting-started/install-dapr-selfhost/

Expected content
On Linux run:

docker run --add-host=host.docker.internal:host-gateway -p 8080:8080 ghcr.io/diagridio/diagrid-dashboard:latest

(this works as expected)

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions