A simple MariaDB image with configurable root password and support for data volumes.
1.7K
A simple MariaDB image with configurable root password and support for data volumes.
This image will run MariaDB 5.5 with a sensible default configuration (see the repository for details). You can easily mount the data directory from the host using docker's data volume support, and can set the default root password for the instance with an environment variable.
For example, to set a root password of password123 (please don't...) and put the MariaDB data in /data/mysql on the host, use the following:
docker run -v /data/mysql:/var/lib/mysql \
-e MARIADB_ROOT_PW=password123 \
-d nickstenning/mariadb55
NB: Please be aware that by default docker will make the MariaDB port accessible from anywhere if the host firewall is unconfigured.
Content type
Image
Digest
sha256:3b2129f55…
Size
279.6 MB
Last updated
almost 11 years ago
docker pull nickstenning/mariadb55