Docker Apple Silicon/M1 Preview MySQL no matching manifest for linux/arm64/v8 in the manifest list entries
Master System Design with Codemia
Enhance your system design skills with over 120 practice problems, detailed solutions, and hands-on exercises.
In recent times, as Apple introduced new silicon in the form of their M1 chips, the transition to this new architecture has brought both challenges and opportunities. One particular area of interest has been the use of Docker on these new Apple Silicon machines, especially when working with MySQL containers. Users encountering the "no matching manifest for linux/arm64/v8 in the manifest list entries" error provides an excellent case study into understanding compatibility issues and resolutions in this evolving landscape.
Understanding the Error
When running Docker images on Apple Silicon Macs powered by M1 chips, users may come across the error:
What Does This Mean?
This error generally indicates that the specific Docker image you're trying to pull does not have a pre-built architecture for the platform you're currently running on (linux/arm64/v8, corresponding to the ARM64 architecture common to the M1 chips).
Traditional Docker images have been predominantly built for amd64, or x86_64 architectures, which historically powered most personal computing devices. The shift to ARM architecture with Apple Silicon means certain images might not be readily available in a compatible form.
Technical Explanations
Docker Manifest Lists
Docker uses a feature called "manifest lists" to support multi-architecture images. A manifest list is an index that points to specific image manifests for different architectures. When a client (such as your M1 Mac) requests a Docker image, it looks for a suitable image that matches its architecture using these lists.
ARM64 and Apple Silicon
Since the introduction of ARM-based Apple Silicon, developers and publishers of Docker images need to ensure they publish ARM-compatible images. An image lacking an arm64 entry in its manifest list will throw the error above when pulled on an ARM architecture system.
MySQL on Apple Silicon
For MySQL, an official image may not have been built for ARM architecture yet, or the image tags you're trying to use do not include an arm64 version.
Examples and Solutions
Check Available Architectures for an Image
To identify what architectures a Docker image supports, you can inspect the image's manifest. Using Docker's command-line interface (CLI) and some third-party tools, you can inspect available manifest lists.
Use an ARM-compatible MySQL Image
Developers or users facing this specific issue can resolve it by:
- Using a Compatible Tag: Sometimes, specific tags might support
arm64, while the defaultlatestdoes not.
- Building the Image Locally: If an official or alternate image is not available, consider building the image from source specifically for the M1 architecture.
- Using
arm64v8/mysql: Explore community-contributed or alternative locations to find a suitable build:
- Cross-Platform Emulation: Use Docker's built-in support for multi-platform builds with
buildxallowing emulation for ARM on x86-64 or vice versa. It isn't a definitive solution for production, due to potential performance impacts, but it can be useful for development and testing.
Summary Table
| Issue & Solution | Details & Commands |
| Error | no matching manifest for linux/arm64/v8 |
| Manifest Check | docker buildx imagetools inspect mysql |
| Compatible Tag | Use tags with arm64 support:
docker pull --platform=linux/arm64 mysql:<tag> |
| Local Build | Custom build:
docker buildx build --platform linux/arm64/v8 |
| Alternative Image | Use community builds:
docker pull arm64v8/mysql |
| Cross-Platform Emulation | docker buildx build --platform=linux/arm64 |
Additional Considerations
Performance
Running applications in Docker containers on platforms where they are not natively supported can impact performance due to emulation overhead. Always review use case scenarios to determine if ARM-native support is critical.
Keeping Updated
As Docker, system architectures, and related technologies continue to evolve, it's essential to keep abreast with updates from Docker and MySQL regarding native ARM support to ensure seamless operations.
Community Contributions
With the rise of open source contributions, engaging with the Docker and MySQL communities can often yield unofficial but effective solutions to architectural transitions like the one posed by Apple Silicon.
In conclusion, understanding how to navigate architecture-specific challenges like the MySQL Docker image setup on Apple Silicon is crucial for developers aiming to maintain productivity and compatibility in this new era of ARM-based computing.

