Docker - Is There Any Difference Between the Two Mysql Docker Images?

There exists 2 mysql docker images - one that is the "official":

and one that is "Created, maintained and supported by the MySQL team at Oracle":

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?

0

1 Answer

The 2 images are not exactly the same the "official" image is based on Debian (see the Dockerfile) and the Oracle's image is based on Oracle Linux (see the Dockerfile). Both are based on community package.

I can't recommend an image or another, it's personnal preference between Debian or RedHat based distribution. The entrypoints are different. If you see a notable difference between them it can be decisive (didn't look deeply but official's entrypoint seems to be more featured).

2

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Sarah Jenkins

Sarah Jenkins

Senior Technology Editor & AI Specialist

Sarah Jenkins is a veteran tech journalist with over 12 years of experience covering artificial intelligence, mobile innovations, and digital ethics. Her insights have appeared in leading technology publications worldwide.

Share this article
Twitter Facebook Pinterest