Open mariotoffia opened 2 years ago
That's a good question and I think it's related to https://github.com/yuzutech/kroki/issues/1110 I've never built multi-architecture Docker images so if someone has experience, feel free to submit a pull request 😉
That's a good question and I think it's related to #1110
I think you wrote down the wrong issue. Perhaps you meant https://github.com/yuzutech/kroki/issues/1084 ?
is there any problems running kroki and associated containers on an ARM64 architecture?
Apparently not, see https://github.com/yuzutech/kroki/issues/1084#issuecomment-1186176295
The "gateway container"
yuzutech/kroki
isn't available forarm64
but I was still able to run it on a Mac mini M1.
The experience in our development team so far has been that Rosetta 2 does a pretty good job in many cases. The one notable exception is Docker-support. While many of our containers do eventually start, it takes ages in some cases. Other containers would flat-out fail. Hence, we're now going fully multi-arch using Docker Buildx. Once the build infrastructure is ready it is a fairly simple and painless process.
@mariotoffia @marcelstoer I have an open PR (#1487) to build both arm64
and amd64
variants of the base image, which will allow you to run Kroki natively without Rosetta. All the companion images already have arm64
variants available.
Hi, is there any problems running kroki and associated containers on an ARM64 architecture? If so, do you have any pointer where so I may have a look if I could help mitigate that? Maybe create a multi arch container ?
...and thanks for a great open source project!
Cheers, Mario :)