This image is built on Alpine.
USER: The non-root user to be used in the container (mysqlby default)Alpine base image liammartens/alpine/var/lib/mysql: For persistent dataetc/mysql : For configuration (default my.cnf` is copied if no volume is used)You can control the MariaDB port by passing the MYSQL_PORT environment variable. Furthermore you can use any environment variables defined in the official MariaDB container as the initialization script is the mostly the same. The only difference is the fact that generating a random root password is the preferred method for creating a password and does not need to be explicitly enabled and the generated password is not only printed to the terminal as it is also saved to /etc/mysql/.passwd.
Content type
Image
Digest
Size
84.5 MB
Last updated
about 7 years ago
docker pull liammartens/mysql