web site link : https://docs.docker.com/desktop/mac/install/
make docker-compose.yaml or docker-compose.yml file edit
docker-compose.yaml or docker-compose.yml -> mariadb up
vsersion: '3'
services:
mymariadb:
container_name: mariadb
image: mariadb
environment:
- MYSQL_ROOT_PASSWORD=root
ports:
- 3306:3306