Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/giabar/gb-mariadb
MariaDB Docker image based on CentOS - https://hub.docker.com/r/giabar/gb-mariadb/
https://github.com/giabar/gb-mariadb
centos centos-7 centos7 docker docker-image dockerfile mariadb mariadb-server
Last synced: 10 days ago
JSON representation
MariaDB Docker image based on CentOS - https://hub.docker.com/r/giabar/gb-mariadb/
- Host: GitHub
- URL: https://github.com/giabar/gb-mariadb
- Owner: giabar
- License: apache-2.0
- Created: 2017-11-27T20:58:57.000Z (about 7 years ago)
- Default Branch: master
- Last Pushed: 2018-06-14T20:08:09.000Z (over 6 years ago)
- Last Synced: 2024-11-08T04:44:35.353Z (2 months ago)
- Topics: centos, centos-7, centos7, docker, docker-image, dockerfile, mariadb, mariadb-server
- Language: Shell
- Homepage:
- Size: 11.7 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# MariaDB 10.2.x Docker image
> Docker image based on CentOS 7.5
Quick start:
```
docker run \
-d \
-p 3306:3306 \
-e MYSQL_ROOT_PASSWORD=SecurePassword123 \
giabar/gb-mariadb
```Specify your db and credentials:
```
docker run \
-d \
-p 3306:3306 \
-e MYSQL_ROOT_PASSWORD=password \
-e MYSQL_DATABASE=mydb \
-e MYSQL_USER=myuser \
-e MYSQL_PASSWORD=mypassword \
giabar/gb-mariadb
```Where to store data:
```
docker run \
-d \
-p 3306:3306 \
--name gbmariadb \
-e MYSQL_ROOT_PASSWORD=SecurePassword123 \
-v /mariadb/db:/var/lib/mysql \
-v /mariadb/logs:/var/log/mariadb \
giabar/gb-mariadb
```For details read the official documentation: https://hub.docker.com/_/mariadb/