@beaker thank you
Getting the logs, error output
container still exists
docker logs mariadb
if you have removed the containers
stop mariadb from restarting itself without --restart
clear the files/folders in mariadb
rm -rvf /volume1/docker/mariadb/*
or use DSM GUI to delete the files/folders inside mariadb
without --restart always
docker run \
-d \
-v /volume1/docker/mariadb:/var/lib/mysql \
-e MYSQL_ROOT_PASSWORD=root_password \
-e TZ=America/Los_Angeles \
--name mariadb \
mariadb:latest \
--sql-mode=''
Once it exits with error
docker logs mariadb
Could you copy/paste the error logs, probably last 10~20 lines will do…