Adding Plugins to the MariaDB Docker Official Image
Instructions on how to extend the official MariaDB Docker image by installing additional plugins and dependencies using a custom Dockerfile.
Which Plugins Does the Container Contain?
$ docker run --rm mariadb:latest ls -C /usr/lib/mysql/pluginEnabling a Plugin Using Flags
$ docker run --name some-%%REPO%% -e MARIADB_ROOT_PASSWORD=my-secret-pw --network=host -d mariadb:latest --plugin-load-add=simple_password_checkEnabling a Plugin in the Configuration Files
$ printf "[mariadb]\nplugin-load-add=ha_federatedx\n" > /my/custom/federatedx.conf
$ docker run --name some-mariadb -v /my/custom:/etc/mysql/conf.d -e MARIADB_ROOT_PASSWORD=my-secret-pw -d mariadb:latestInstall a Plugin Using SQL in /docker-entrypoint-initdb.d
Identifying Additional Plugins in Additional Packages
Creating an Image With Plugins From Additional Packages
Last updated
Was this helpful?

