Skip to content

Unable to download the docker image #192

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

Closed
akordowski opened this issue Apr 9, 2025 · 6 comments
Closed

Unable to download the docker image #192

akordowski opened this issue Apr 9, 2025 · 6 comments

Comments

@akordowski
Copy link

I setup the MCP server as described in the README. But starting the server I get following errors:

[info] Starting server github
[info] Connection state: Starting
[info] Starting server from LocalProcess extension host
[info] Connection state: Starting
[info] Connection state: Running
[warning] [server stderr] Unable to find image 'ghcr.io/github/github-mcp-server:latest' locally
[warning] [server stderr] docker: Error response from daemon: Head "https://ghcr.io/v2/github/github-mcp-server/manifests/latest": denied: denied
[warning] [server stderr] 
[warning] [server stderr] Run 'docker run --help' for more information
[info] Connection state: Error Process exited with code 125

Any idea what I am doing wrong?

@akordowski akordowski changed the title Unable to download the docker container Unable to download the docker image Apr 9, 2025
@edgeq
Copy link

edgeq commented Apr 9, 2025

➕ - also unable to pull the docker image. Even when pulling manually:

docker pull ghcr.io/github/github-mcp-server
Using default tag: latest
Error response from daemon: Head "https://ghcr.io/v2/github/github-mcp-server/manifests/latest": denied: denied

@edgeq
Copy link

edgeq commented Apr 10, 2025

My current workaround is to use the official anthropic mcp server. It's in deprecation, but it's a trusted source and still works.

@juruen
Copy link
Collaborator

juruen commented Apr 12, 2025

@akordowski @edgeq is there any chance that you were logged into the gh docker registry with an expired token?

I'm unable to reproduce this as I can successfully pull the image anonymously:

juruen@moonbase:~$ docker logout ghcr.io  # logout from gh docker registry
Removing login credentials for ghcr.io
juruen@moonbase:~$ docker pull ghcr.io/github/github-mcp-server
Using default tag: latest
latest: Pulling from github/github-mcp-server
3d78e577de35: Pull complete
bfb59b82a9b6: Pull complete
4eff9a62d888: Pull complete
a62778643d56: Pull complete
7c12895b777b: Pull complete
3214acf345c0: Pull complete
5664b15f108b: Pull complete
0bab15eea81d: Pull complete
4aa0ea1413d3: Pull complete
da7816fa955e: Pull complete
9aee425378d2: Pull complete
d00c3209d929: Pull complete
221438ca359c: Pull complete
e76e88e5b481: Pull complete
4d3ee8eeb83f: Pull complete
Digest: sha256:faa1dfed068fb1d9c866a5ce4909947a5f2a5a72130815fba56c32bb441ca83f
Status: Downloaded newer image for ghcr.io/github/github-mcp-server:latest
ghcr.io/github/github-mcp-server:latest

@akordowski
Copy link
Author

@juruen No, for the test I used a fresh created token. Are there maybe special rights that must be set for the token to access the registry?

@juruen
Copy link
Collaborator

juruen commented Apr 12, 2025

@juruen No, for the test I used a fresh created token. Are there maybe special rights that must be set for the token to access the registry?

You should be able to pull the docker image anonymously, in the example I posted above, I do docker logout ghcr.io to make sure that I'm not logged in.

Any chance you could try that?

@akordowski
Copy link
Author

You should be able to pull the docker image anonymously, in the example I posted above, I do docker logout ghcr.io to make sure that I'm not logged in.

The docker logout ghcr.io command helped and I was able to pull the image. I wonder why this was an issue, as I was not logged in into ghcr.io at all. At least at works. Thank you very much!

A note in the README regarding this issue might be helpful for other users.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants