Docker image support for arm64 architecture (M1 Macs)
See original GitHub issueIs your feature request related to a problem? Please describe.
Unable to use minlag/mermaid-cli docker image on arm64 architecture (M1 Macs)
Describe the solution you’d like
I’d like minlag/mermaid-cli to be built for arm64 architecture in addition to the current build.
Describe alternatives you’ve considered None.
Additional context
docker: Error response from daemon: image with reference minlag/mermaid-cli was found but does not match the specified platform: wanted darwin/amd64, actual: linux/amd64.
Should be doable via adding --platform=arm64 to the FROM lines in Dockerfiles as node images support arm64 architecture:
FROM --platform=arm64 node:current-slim AS build
Issue Analytics
- State:
- Created 2 years ago
- Comments:13 (8 by maintainers)
Top Results From Across the Web
How to build Docker Images for Apple Silicon (aka M1 Chip)
Learn more about building multi-architecture Docker Images for both x86 and Apple Silicon (M1) locally and via CircleCI.
Read more >Run x86 (Intel) and ARM based images on Apple Silicon (M1 ...
Being an Apple customer, I am wondering if use a Mac Mini M1, do ALL Docker images run as expected? Does this happen...
Read more >Choosing the right Docker Image for your Apple M1 Pro
Docker images can support multiple architectures, which means that a single image may contain variants for different architectures, and ...
Read more >Choosing the right Docker Image for your Apple M1 Pro
As you can see above, the Docker image has limited support only for x86 platform(missing Arm arch support). Your CPU can only run...
Read more >Docker build with Mac M1 - Medium
Docker build with Mac M1. Minimal guide to building your image for multiple architectures. Error about the architecture mismatch (image by ...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found

Confirmed the
arm64image landed in both the DockerHub and GHCR repositories 🎉@mikeder Please have a stab at the change. I assume the diff is only the
npm install ...@version.if you don’t have something by the weekend i can give a stab next week.