[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

Facing issues? Have Questions? Post them here! I am happy to answer!

Author Info:

Rakesh (He/Him) has over 14+ years of experience in Web and Application development. He is the author of insightful How-To articles for Code2care.

Follow him on: X

You can also reach out to him via e-mail: rakesh@code2care.org



















Copyright © Code2care 2024 | Privacy Policy | About Us | Contact Us | Sitemap