MySQL Blog Archive
For the latest blogs go to blogs.oracle.com/mysql
Multi-arch Docker Images for MySQL Server

Since the new 8.0.13 release we publish docker images for a new architecture: aarch64, as part of our normal release process.

This means that the mysql/mysql-server docker image will work on both amd64 and aarch64 architectures. The newest images are as usually available on dockerhub.

On amd64 machines:

[user@amd64host]$ docker pull mysql/mysql-server:8.0.13
[user@aarch64host]$ docker run -ti mysql/mysql-server:8.0.13 mysql --version
[Entrypoint] MySQL Docker Image 8.0.13-1.1.8
mysql Ver 8.0.13 for Linux on aarch64 (MySQL Community Server - GPL)

On aarch64 machines:

[user@aarch64host]$ docker pull mysql/mysql-server:8.0.13
[user@aarch64host]$ docker run -ti mysql/mysql-server:8.0.13 mysql --version
[Entrypoint] MySQL Docker Image 8.0.13-1.1.8
mysql Ver 8.0.13 for Linux on x86_64 (MySQL Community Server - GPL)

To the outside this means no changes, internally this means a slight change in our tagging scheme. All images with versions from 8.0.13 are additionally explicitly tagged per architecture. Releases up to 5.7 are not affected.

Images are built from identical Dockerfiles and we rely only on our existing yum support for multiple architectures. At build time the correct yum repo and architecture are determined and the according rpm package is installed.

Happy dockering.