Skip to content
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

docker can not pull image from mcr.microsoft.com #175

Open
AnNguyen-112 opened this issue Jan 21, 2025 · 6 comments
Open

docker can not pull image from mcr.microsoft.com #175

AnNguyen-112 opened this issue Jan 21, 2025 · 6 comments

Comments

@AnNguyen-112
Copy link

docker run -e "ACCEPT_EULA=Y" -e "SA_PASSWORD=Nothing@123" -p 1433:1433 --name sql_server_container -d mcr.microsoft.com/mssql/server:2022-latest
Unable to find image 'mcr.microsoft.com/mssql/server:2022-latest' locally
docker: Error response from daemon: failed to resolve reference "mcr.microsoft.com/mssql/server:2022-latest": failed to do request: Head "https://mcr.microsoft.com/v2/mssql/server/manifests/2022-latest": EOF.
See 'docker run --help'.

@magols
Copy link

magols commented Jan 21, 2025

I have this same issue. Tried several different images :(

@AnNguyen-112
Copy link
Author

yeah, so weird that some of the other image I pull is totally normal, problem only happens with mcr.microsoft.com image

@jevgenijsp
Copy link

It's the same issue for me. The problem only happens with mcr.microsoft.com.

@jevgenijsp
Copy link

Disabling IPv6 from the network adapter fixed the issue.

#165 (comment)

@AnNguyen-112
Copy link
Author

Disabling IPv6 works for me too. Thank you so much!!!

@tnttb79
Copy link

tnttb79 commented Jan 22, 2025

Disabling IPv6 did fix the problem for me. But can anyone explain why disabling IPv6 solved the issue? Just want to know for future references. Thank you.

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

4 participants