MySQL: Use Docker Compose for MySQL
Using Docker, you can easily set up new MySQL instances.
I prefer to use Docker compose for that - here's my configuration file (which should also work for MariaDB-Containers):
services:
db:
image: mysql:8.0
restart: always
environment:
MYSQL_DATABASE: 'db'
MYSQL_USER: 'user'