摘要: 使用docker-compose安装mysql,docker-compose.yml配置mysql服务后,当使用docker-compose up命令启动时,报错如下: service ‘image‘ must be a mapping not a string 经过检查发现,docker-comp 阅读全文
posted @ 2022-08-10 16:51 弦歌雅意 阅读(936) 评论(0) 推荐(0) 编辑
摘要: 1.下载安装包 根据机器的架构选择具体的版本,更多的请参考官网 https://github.com/docker/compose/releases 架构 下载地址 X86 https://github.com/docker/compose/releases/download/v2.4.1/dock 阅读全文
posted @ 2022-08-10 11:22 弦歌雅意 阅读(1942) 评论(0) 推荐(1) 编辑
摘要: 前置要求:Centos系统内核要不低于3.10,可以通过uname -r来查询当前内核版本 安装docker命令: curl -fsSL https://get.docker.com | bash -s docker --mirror Aliyun 也可以使用国内 daocloud 一键安装命令: 阅读全文
posted @ 2022-08-10 11:09 弦歌雅意 阅读(165) 评论(0) 推荐(0) 编辑