'Is there a MySQL Docker image for ARM64 that works like the official image?
I'm trying see what kind of performance I can get out of an Amazon Graviton instance. I have a compose file that pulls official images off Docker Hub. No problem with Node. No problem with Nginx. No problem with WordPress. MySQL, however, doesn't work. Apparently there's no Docker image for that on ARM.
I tried using an 3-rd party MySQL image built for ARM but it doesn't seem to use ENV variables in the same manner as the official image.
Solution 1:[1]
ARM64 is being supported with mySQL 8.0 (only); here's the Dockerfile.
Solution 2:[2]
Update minor version of your MySQL container to the latest one, I updated from 5.7.22 to 5.7.37 and it works now fine.
Sources
This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.
Source: Stack Overflow
| Solution | Source |
|---|---|
| Solution 1 | Martin Zeitler |
| Solution 2 | Eric Aya |
