Skip to content

lgelfan/mariadb-alpine

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 

Repository files navigation

mariadb-alpine

(FORKED FROM: k0st/alpine-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] k0st/alpine-mariadb 

Note that MySQL 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 k0st/alpine-mariadb

About

Dockerfile for MariaDB Alpine

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages