-
Notifications
You must be signed in to change notification settings - Fork 757
Cannot connect to the Docker daemon #232
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
Hi, a few questions to debug further. What platform are you on? If Mac or windows is docker desktop running? And also if windows are you running the docker commands in WSL? Because VSCode might not be. Let me know, and hope some of the above helps. |
Still getting
|
@SamMorrowDrums I'm using the latest vscode with Codespaces. The vscode is running on a MacBook. |
@PickHub if you're using codespaces, next question is where is the MCP config? If it's in your general settings it's running on your local machine, but if it's in .vscode/mcp.jon, it's running in the Codespace. Depending on the answer to the above either your local machine doesn't have Docker running correctly or it is the Codespace. If you are running Docker commands in your Codespace terminal but VScode is trying to run the MCP server on your local machine, that could easily be the issue, and getting Docker engine (or Docker desktop) installed and running on your local machine would fix it. |
@SamMorrowDrums Got it, it was looking for the docker on my local machine, whereas I assumed it would run in Codespace's docker. That's with having the config in both the Thanks for the help! |
Describe the bug
When I click "Start server" for MCP, I get
[warning] [server stderr] docker: Cannot connect to the Docker daemon at unix:///var/run/docker.sock.
.Affected version
Please run
docker run -i --rm ghcr.io/github/github-mcp-server ./github-mcp-server --version
and paste the output belowSteps to reproduce the behavior
Expected vs actual behavior
I'd expect the server to start.
Logs
When I run the docker command myself I get the following:
vscode settings.json
The text was updated successfully, but these errors were encountered: