Closed
Description
Running pnpm convex dev
inside a DevContainer starts successfully, but opening the provided dashboard URL (http://127.0.0.1:6790/?d=anonymous-xyz) prompts me for a URL and admin key — which should not be required in dev mode.
When running the exact same setup outside the DevContainer (on my host machine), everything works as expected: the dashboard opens normally and no authentication prompt appears.
Terminal Output:
$ pnpm convex dev
✔ Downloaded Convex backend binary
✔ Downloaded Convex dashboard
✔ Started running a deployment locally at http://127.0.0.1:3210 and saved its name as CONVEX_DEPLOYMENT to .env.local
Run `npx convex login` at any time to create an account and link this deployment.
Write your Convex functions in convex/
Give us feedback at https://convex.dev/community or support@convex.dev
View the Convex dashboard at http://127.0.0.1:6790/?d=anonymous-xyz
✔ 17:08:44 Convex functions ready! (163.61ms)
Dev Container Setup:
Here’s a minimal version of my .devcontainer/devcontainer.json
:
{
"name": "node",
"image": "mcr.microsoft.com/devcontainers/typescript-node:1-22-bookworm",
"mounts": [
"source=${localEnv:HOME}/.convex,target=/home/node/.convex,type=bind,consistency=cached"
],
"remoteUser": "node",
"remoteEnv": {
"CONVEX_TMPDIR": "/home/node/.convex-tmp"
}
}
What I’ve Tried:
- Deleted the
.convex/
directory and re-initialized the project - Recreated the project multiple times
- Restarted the dev container and host
- Tried both logged in and logged out (
pnpm convex logout
) - Verified it works as expected outside of the container
Expected Behavior:
In dev mode, the Convex dashboard should open without requiring credentials or an admin key.
System Info:
- Environment: DevContainer (Docker)
- Image: mcr.microsoft.com/devcontainers/typescript-node:1-22-bookworm
- Docker version: 27.5.1
- pnpm version: 10.10.0
- convex version: 1.23.0
Screenshot:

Metadata
Metadata
Assignees
Labels
No labels