Note: By Intel I mean x86-64 or x64 or x86_64 or AMD64 or Intel 64. Note: By ARM I mean ARMv8 or ARM64 or AArch64.
Apple Macbook with M1 chip are becoming more prevalent. These machines do not use your typical Intel CPU but are rather ARM based.
Developers with M1 Macbooks can’t spin up percona database with a simple docker run because images stored in docker hub registry only has architecture type AMD64.
Apple sees Intel as legacy and as time passes by those machines will be phased out in favour of ARM. With that in mind ARM support has to come sooner or later.
Worth noting that the popular boards known as “Raspberry Pi” are also ARM based, so hosting percona database on those machines are not as easy as it should be.
Interestingly MySQL from Oracle actually do have ARM64 binary available. Please see links for more details:
Thank you for being an active part of our community. Currently, we’re considering providing builds for ARM-based architectures. Unfortunately, I can’t give a date when this will happen.
For Apple M1, you can follow these steps to build the code.
Thank you for your work. As of today running Percona on ARM requires building binary from source, however my suggestion is that this should happen in the pipeline and binaries published through distribution channels to different package managers. The accepted answer by Pep_Pla suggests that this is on going work.
Is from a percona distribution channel. Pep_Pla has pulling the source code from github. I don’t see what the difference is. Can you explain your statement.
Hi,
We have started our work with aarm64. For now we have created docker container with aarm64 support but it is still in testing. Here it is: Docker
It is based on rpms so for now we don’t have deb packages for aarm64
So if you want to try it you can just execute
docker run --name container-name -e MYSQL_ROOT_PASSWORD=secret -d perconalab/percona-server:8.0.30-22.1-arm64
Hi,
Any chances of having Docker image perconalab/percona-server:5.7 for linux/arm64/v8 as well anytime soon?
It would be really helpful in order to develop in Docker Desktop for Mac.
At this point this is highly unlikely. Percona Server for MySQL 5.7 is reaching it’s end of life later this year, and porting to a new architecture and platform requires significant engineering efforts. I strongly recommend developing new projects on version 8.0.