million12/mariadb. If you try to run it on node with less memory, it will fail.
Please use tags on Docker Hub for different versions.
Run the image as daemon and bind it to port 3306:
bashdocker run -d \ -p 3306:3306 \ million12/mariadb
Run the image as daemon and specify MariaDB version 10.2:
bashdocker run -d \ million12/mariadb:10.1
The first time that you run your container, a new user admin with all privileges will be created in MariaDB with a random password. To get the password, check the logs of the container by running:
docker logs <CONTAINER_ID>
You will see an output like the following:
bash======================================================================== You can now connect to this MariaDB Server using: mysql -uadmin -pCoFlnc3ZBS58 -h<host> Please remember to change the above password as soon as possible! MariaDB user 'root' has no password but only allows local connections ========================================================================
In this case, CoFlnc3ZBS58 is the password assigned to the admin user.
If you want to use a preset password instead of a random generated one, you can set the environment variable MARIADB_PASS to your specific password when running the container:
bashdocker run -d \ -p 3306:3306 \ -e MARIADB_PASS="mypass" \ million12/mariadb
MariaDB stores data in /var/lib/mysql location. Mount a volume
to that location - below is an example with docker-compose how to do that:
yamlversion: '2' volumes: dbdata: services: db: image: million12/mariadb:latest volumes: - dbdata:/var/lib/mysql
Author: Marcin Ryzycki (<>)
Author: Przemyslaw Ozgo (<>)

manifest unknown 错误
TLS 证书验证失败
DNS 解析超时
410 错误:版本过低
402 错误:流量耗尽
身份认证失败错误
429 限流错误
凭证保存错误
来自真实用户的反馈,见证轩辕镜像的优质服务