Docker - Is There Any Difference Between The Two MySQL Docker Images?

Viewed 7116

There exists 2 mysql docker images - one that is the "official": https://hub.docker.com/_/mysql/

and one that is "Created, maintained and supported by the MySQL team at Oracle": https://hub.docker.com/r/mysql/mysql-server/

The documentation between both images are almost exactly identical. The expected ENV variables are nearly identical.

Is there any advantage of using one over the other?

2 Answers

An additional, and nowadays pretty important difference is that the Oracle based docker images are available in an ARM64/v8 version, next to an AMD64 version. This for example allows you to run the image without virtualization on M1 macs with Apple sillicon.

So if you're running an X86 architecture, choose the one you like. If you're running on ARM, go for the Oracle images for best performance.

Related