Sign inSign up

alpin3/mariadb

By alpin3

Updated over 10 years ago

MariaDB (MySQL) (size: ~154 MB)

Image
0

1.3K

alpin3/mariadb repository overview

alpin3/mariadb

Multiple purpose MariaDB (MySQL) based on Alpine

Image is based on the gliderlabs/alpine base image

Docker image size

Latest

Docker image usage

docker run [docker-options] alpin3/mariadb 

Note that MySQL root will be randomly generated (using pwgen). Root password will be displayed, during first run using output similar to this:

[i] MySQL root Password: XXXXXXXXXXXXXXX

But you don't need root password really. If you connect locally, it should not ask you for password, so you can use following procedure:

docker exec -it mariadb_containerid /bin/sh
# mysql -u root mysql

Examples

Typical usage:

docker run -it -v /host/dir/for/db:/var/lib/mysql -e MYSQL_DATABASE=db -e MYSQL_USER=user -e MYSQL_PASSWORD=blah alpin3/mariadb
Todo
  • Check volume and data
  • Provide more examples

Tag summary

Content type

Image

Digest

Size

47.9 MB

Last updated

over 10 years ago

docker pull alpin3/mariadb