摘要:
拉取mysql镜像 查看mysql镜像 启动mysql容器 ps:参数解释 p 3306:3306:将容器的 3306 端口映射到主机的 3306 端口。 v v $PWD/conf:/etc/mysql/conf.d:将主机当前目录下的 conf/my.cnf 挂载到容器的 /etc/mysql/ 阅读全文
摘要:
更新源 更新系统 更新yum && 安装tools 更新 yum 缓存: 安装 Docker ce: 启动 Docker 后台服务 测试运行 hello world docker加速器 若报错Cannot connect to the Docker daemon at unix:///var/run 阅读全文