1.先查看镜像:docker images
并启动mysql
2.进入mysql容器:docker exec -it liujjmysql bash
3.显示databases:show databases;
4.显示所有得表:show tables;
5.Navicat连接: