Git Product home page Git Product logo

mariadb-server's Introduction

Maintained by: MariaDB

This is the Git repo of official docker images for MariaDB Server, mariadb-server



Installation

Include the the version number as a docker tag.

To pull MariaDB Server version 10.3 run the following command:

docker pull mariadb/server:10.3

To run MariaDB Server version 10.3 run the following command:

docker run -d --name mariadb -e MARIADB_ROOT_PASSWORD=mypassword mariadb/server:10.3

Configuration

The following environment variables can be utilized to configure behavior (one of the first three must be specified):

  • MARIADB_ROOT_PASSWORD : specify the password for the root user
  • MARIADB_ALLOW_EMPTY_PASSWORD : allow empty password for the root user
  • MARIADB_RANDOM_ROOT_PASSWORD : generate a random password for the root user (output to logs)
  • MARIADB_INITDB_SKIP_TZINFO : skip timezone setup
  • MARIADB_ROOT_HOST : host for root user, defaults to '%'
  • MARIADB_DATABASE : create a database with this name
  • MARIADB_USER : create a user with this name, with all privileges on MARIADB_DATABASE if specified
  • MARIADB_PASSWORD : password for above user

For backward compatibility, environment variables starting MYSQL_ rather than MARIADB_ will also work.

Custom scripts can be mapped as a host volume to /docker-entrypoint-initdb.d for execution post initialization in named / directory order. The following extensions are supported:

  • .sh : shell script
  • .sql : sql script
  • .sql.gz : gzip compressed sql script

mariadb-server's People

Contributors

tianon avatar docker-library-bot avatar ianmaguire avatar yosifkit avatar dbart avatar mariadb-ivanzlatoustov avatar klausenbusk avatar aboettger-tuhh avatar grooverdan avatar silentroach avatar rwky avatar

Watchers

James Cloos avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.