This is image can be used to install demo databases in a MariaDB container on startup.
Set environment variables to setup database schema with script, see docker-compose.yml
INSTALL_WORLD=1INSTALL_WORLD_INNODB=1INSTALL_SAKILA=1INSTALL_EMPLOYEES=1
docker-compose up -d
docker-compose exec mariadb /init-example-databases.sh
docker build -t schmunk42/mariadb-example-databases .
Built by *dmstr