mirror of
https://github.com/casjaysdevdocker/tools
synced 2025-01-18 06:34:31 -05:00
11 lines
283 B
Bash
Executable File
11 lines
283 B
Bash
Executable File
#!/usr/bin/env bash
|
|
mkdir -p /var/lib/docker/storage/mariadb &&
|
|
chmod -Rf 777 /var/lib/docker/storage/mariadb
|
|
|
|
docker run -d \
|
|
--restart always \
|
|
--name mariadb \
|
|
-p 3306:3306 \
|
|
-v /var/lib/docker/storage/mariadb:/var/lib/mysql \
|
|
registry.casjay.in/latest/mariadb:latest
|