intel/intel-optimized-mysql

Verified Publisher

By Intel Corporation

Updated 8 months ago

Image
Data Science
Databases & Storage
Security
1

5.8K

MySQL

MySQL is world most popular database. This image is based on official DockerHub image (ver 8.0.31) and adds Intel optimizations of top of it. This readme focuses on Intel added scripts and configurations. Please refer to original readme regarding usage of this image.

Usage

This image can be used almost exactly like the official DockerHub MySQL image, with following differences:

  1. Run with --privileged flag.
    Some of optimizations are implemented as low-level kernel configuration,
    To use it the Container have to be executed with escalated privileges
  2. Proposed optimizations are executed during runtime and are added using entrypoint.sh
    This script apply Intel optimizations and then pass to DockerHub's original docker-entrypoint.sh. When replacing entrypoint remember to execute this script in order to use all optimizations.
  3. Some optimizations are passed using /etc/mysql/conf.d/mysql.conf file. When adding extra configuration remember to include those already present in mysql.conf file.
Example usage of this image:
# build image
docker build . -t mysql-intel:your-tag --build-arg http_proxy --build-arg https_proxy --build-arg no_proxy --network=host
# run container using built image
docker run --name some-mysql -e MYSQL_ROOT_PASSWORD=my-secret-pw --privileged -d mysql-intel:your-tag

Docker Pull Command

docker pull intel/intel-optimized-mysql