tools/scripts/mariadb.sh
2023-02-23 23:38:31 -05:00

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