Tags:
- mariadb-10.3 (recommended): mariadb 10.3.10, with optional tokudb and rocksdb engine
- mariadb-10.3-root: version that start container as root, suitable as library for other containers
- mariadb-10.2: mariadb 10.2.19, with optional rocksdb engine
- mariadb-10.2-root: version that start container as root, suitable as library for other containers
- mariadb, latest : legacy tag, do not use, currently alias for mariadb-10.2
- alpine-mariadb-10.1, alpine-mariadb, alpine: mariadb 10.1 from alpine repository
- mysql-5.7 : latest stable mysql 5.7
- mysql : legacy tag, do not use, currently alias for mysql-5.7
Pull:
- docker pull oscnt/mysql:mariadb-10.3
- docker pull oscnt/mysql:mysql-5.7
Service Ports:
Using persistent storage:
- mount persistent storage on /opt/local
- restart / redeploy container
Optional tokudb storage engine (mariadb only):
- cd /opt/local/mysql/etc/conf.d
- mv tokudb.cnf.disabled tokudb.cnf
- supervisorctl restart mysql
Source: https://github.com/openshift-misc/oscnt