Skip to content

hdthefirst/docker-mariadb-example-databases

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

MariaDB Docker container with example databases from MySQL

This is image can be used to install demo databases in a MariaDB container on startup.

Configuration

Set environment variables to setup database schema with script, see docker-compose.yml

  • INSTALL_WORLD=1
  • INSTALL_WORLD_INNODB=1
  • INSTALL_SAKILA=1
  • INSTALL_EMPLOYEES=1

Usage

docker-compose up -d
docker-compose exec mariadb /init-example-databases.sh

Build

docker build -t schmunk42/mariadb-example-databases .

Links


Built by *dmstr

About

Dockerfile for MariaDB Server with example databases

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Shell 100.0%