This repository provides a high-performance MariaDB image designed to be minimal, secure, and easy to maintain in containerized environments. By utilizing Alpine Linux as a base, we ensure a tiny footprint and a reduced attack surface.
Pull the image:
docker pull noiseline/mariadb:latest
Run a basic instance:
docker run -d --name mariadb noiseline/mariadb:latest
To ensure data persistence and custom configuration, use the following mount points:
/var/lib/mysql/etc/my.cnf.dTo apply your own MariaDB settings, mount your local configuration directory to /etc/my.cnf.d/. MariaDB will automatically load any .cnf files found in that location.
Example:
docker run -d --name mariadb \
-v /path/to/local/config:/etc/my.cnf.d:cached \
-v /path/to/local/data:/var/lib/mysql:delegated \
-e MARIADB_ROOT_PASSWORD=your_secure_password \
noiseline/mariadb:latest
NOTE: Be sure to update the system-tables after updating the image:
docker exec -it mariadb /usr/bin/mariadb-upgrade
/var/lib/mysql to prevent data loss when the container is updated or recreated.Content type
Image
Digest
sha256:99a57c0a7…
Size
72.4 MB
Last updated
about 1 month ago
docker pull noiseline/mariadb