Sign inSign up

illuminasy/mariadb

By illuminasy

•Updated about 4 years ago

Image
0

1.4K

illuminasy/mariadb repository overview

⁠Illuminasy MariaDB Docker

License: MIT Version: v1.1.0

This image contains mariadb v10.5.5 and made the source code freely available under the MIT⁠.

⁠Images includes

  • mariadb10.5.5: mariadb official image

⁠Environments

  • MYSQL_ROOT_PASSWORD : Root password
  • MYSQL_DATABASE : database name
  • MYSQL_USER : non root user
  • MYSQL_PASSWORD: user password to access db

⁠Usage

  • Initial Setup - mount initial setp .sql or .sh file onto /docker-entrypoint-initdb.d directory
  • Data retention - Always create volumes or mount volume to /var/lib/mysql.
  • Create dumps - docker exec container_name sh -c 'exec mysqldump --all-databases -uroot -p"$MYSQL_ROOT_PASSWORD"' > /local_dir/all-databases.sql
  • Restore from dump - docker exec -i container_name sh -c 'exec mysql -uroot -p"$MYSQL_ROOT_PASSWORD"' < /local_dir/all-databases.sql

⁠License

This project is licensed under MIT License - see the LICENSE.md⁠ file for details

Tag summary

Content type

Image

Digest

sha256:c1e94144f…

Size

118.3 MB

Last updated

about 4 years ago

docker pull illuminasy/mariadb