-
Notifications
You must be signed in to change notification settings - Fork 778
Diagrid dashboard run command in docs panics on Linux #5099
Copy link
Copy link
Open
Labels
content/incorrect-informationContent in the docs is incorrectContent in the docs is incorrect
Description
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 +0xfSeems 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)
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
content/incorrect-informationContent in the docs is incorrectContent in the docs is incorrect