Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

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/

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/