Docker 启动 MySQL

  1. [[email protected].io]# docker run --name mysql -p 3306:3306 -v /home/liqiang.io/data/mysql:/var/lib/mysql -e MYSQL_ROOT_PASSWORD=password -d mariadb:5.5