[fix] Docker - no matching manifest for linux/arm64/v8 in the manifest list entries [M/M2 Mac]


Docker - no matching manifest for linux arm64 v8 in the manifest list entries
% docker pull mcr.microsoft.com/powershell
Using default tag: latest
latest: Pulling from powershell
no matching manifest for linux/arm64/v8 in the manifest list entries

If you are trying to pull an image from docker hub and you get no matching manifest for linux/arm64/v8, that's because the image does not support ARM64 platforms, so most likely you will get this error on your Mac based on M1/M2 Apple Silicon.


Solution/Fix:

You will have to go for the x86_64 platform image in this case by adding the platform option while pulling the image.

Example:
% docker pull --platform linux/x86_64 mcr.microsoft.com/powershell
Using default tag: latest
latest: Pulling from powershell
d19f32bd9e41: Pull complete 
33b56f9b4c27: Pull complete 
Digest: sha256:21d0bc2752dfc8ab69b989e9d6c5280cf5c8486fdf32043c1837b477a9f790b6
Status: Downloaded newer image for mcr.microsoft.com/powershell:latest
mcr.microsoft.com/powershell:latest


Have Questions? Post them here!
Advertisements
Try Out Code2care Dev Tools:

Advertisements

Advertisements
Code2care is an initiative to publish and share varied knowledge in programming and technical areas gathered during day-to-day learnings and development activities.

Students and software developers can leverage this portal to find solutions to their various queries without re-inventing the wheel by referring to our easy to understand posts. Technical posts might include learnings, tutorials, trouble-shooting steps, video tutorials, code snippets, how-to, blogs, articles, etc.

🎉 We are celebrating the 10th years of Code2care! Thank you for all your support!

We strongly support Gender Equality & Diversity.