Docker Desktop - MacOS - Platform Mismatch
Problem:
Received an error while running docker images on MacOS.
Error:
The requested image’s platform (linux/amd64) does not match the detected host platform (linux/arm64/v8)
Cause:
The requested image was likely built for the Linux/amd64 platform, but the host platform where the Docker image is being executed is Linux/arm64/v8.
Solution:
- To resolve this issue, you may need to obtain a version of the image that is compatible with the host platform, or update the host platform to match the platform for which the image was built.
- I was able to resolve the issue by enabling containerd in docker desktop:
- Steps:
- Open Docker Desktop
- Go to ‘Settings’ -> General
- Enable ‘Use containerd for pulling and storing images’
This post is licensed under CC BY 4.0 by the author.