Skip to content

Latest commit

 

History

History
23 lines (19 loc) · 1.04 KB

README.md

File metadata and controls

23 lines (19 loc) · 1.04 KB

docker-mariadb

Build mariadb images based on opensue image.

Tags and Dockerfile links

##How to use

5.5

docker run --name [contianer_name] -e MYSQL_ROOT_PASSWORD=[root_password] -e MYSQL_USER=[db_user] -e MYSQL_PASSWORD=[db_user_password] -e MYSQL_DATABASE=[db_name] -P -d mengzyou/docker-mariadb:5.5  

###10.0

docker run --name [contianer_name] -e MYSQL_ROOT_PASSWORD=[root_password] -e MYSQL_USER=[db_user] -e MYSQL_PASSWORD=[db_user_password] -e MYSQL_DATABASE=[db_name] -P -d mengzyou/docker-mariadb:10.0

###10.1

docker run --name [contianer_name] -e MYSQL_ROOT_PASSWORD=[root_password] -e MYSQL_USER=[db_user] -e MYSQL_PASSWORD=[db_user_password] -e MYSQL_DATABASE=[db_name] -P -d mengzyou/docker-mariadb:10.1