Skip to content

Latest commit

 

History

History
executable file
·
33 lines (23 loc) · 843 Bytes

README.md

File metadata and controls

executable file
·
33 lines (23 loc) · 843 Bytes

GitHub release License

About

Docker image for MariaDB

Usage

  • Create a volume for persistent storage:
docker volume create --name=mariadb_data
  • Copy the docker-compose.yml and modify it if needed.

  • Start the MariaDB server:

docker-compose create
docker-compose start
  • Look at the logs to see your default password:
docker logs mariadb
  • Connect to your DB and change the default password

Default users :

  • root / no password (can connect from mariadb container only).
  • admin / random password (can connect from all hosts)