$ docker search mariadb
$ docker pull mariadb:latest
$ docker search images
$ docker run --name mariadb_3306 -p 3306:3306 -e MYSQL_ROOT_PASSWORD=pw_mariadb -d mariadb:latest
$ docker run --name mariadb_3306 -p 3306:3306 -v /mnt/d/docker_space/mysql:/var/lib/mysql -e MYSQL_ROOT_PASSWORD=pw_mariadb -d mariadb:latest
$ docker run --restart=always --name mariadb_3306 -p 3306:3306 -v /mnt/d/docker_space/mysql:/var/lib/mysql -e MYSQL_ROOT_PASSWORD=pw_mariadb -d mariadb:latest
$ docker ps
$ docker ps -a
$ docker exec -i -t mariadb_3306 /bin/bash
$ root@abe97fa8fa1a:/# mysql -u root -p
Enter password: -e MYSQL_ROOT_PASSWORD 로 설정된 이름