部署背景:手边频繁变换的linux操作环境导致需要不停的配置基本的MySQL等开发/技术探索环境,docker自身强大的可移植性很好的解决了这个问题!
Deployment background: The frequently changing linux operating environment at hand leads to the need to constantly configure basic MySQL and other development/technology exploration environment, docker's powerful portability is a good solution to this problem!
目录
1、安装docker
1.1 确认当前环境:
1.2 安装docker:
1.3 更换软件源:
2、安装镜像
3、创建容器和目录映射
3.1 创建并启动此容器:
3.2 查看此容器运行状态:
4、进入容器