Docker MySQL Basics

docker run --name mysql -v /home/renan/Development/Workspace/mysql:/var/lib/mysql -e MYSQL_ROOT_PASSWORD=password -p 3306:3306 -dit mariadb

Install mysql client:
sudo apt install mysql-client

Connect to docker db:
mysql -u root -h 0.0.0.0 -p