简体   繁体   English

ARM64 的 MySQL Docker 图像是否与官方图像一样工作?

[英]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.我正在尝试从 Amazon Graviton 实例中获得什么样的性能。 I have a compose file that pulls official images off Docker Hub.我有一个撰写文件,可以从 Docker Hub 中提取官方图像。 No problem with Node.节点没问题。 No problem with Nginx. Nginx 没问题。 No problem with WordPress. WordPress 没问题。 MySQL, however, doesn't work.但是,MySQL 不起作用。 Apparently there's no Docker image for that on ARM.显然 ARM 上没有 Docker 图像。

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.我尝试使用为 ARM 构建的第三方 MySQL 图像,但它似乎没有以与官方图像相同的方式使用 ENV 变量。

ARM64 is being supported with mySQL 8.0 (only); mySQL 8.0(仅)支持ARM64 here's the Dockerfile .这是Dockerfile

The mysql image has arm64v8 support since v8: https://hub.docker.com/r/arm64v8/mysql/ mysql映像从 v8 arm64v8支持 arm64v8: https://hub.docker.com/r/arm64v8/mysql/

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.将您的 MySQL 容器的次要版本更新到最新版本,我从 5.7.22 更新到 5.7.37,它现在可以正常工作了。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM