摘要: 参考网址 https://docs.docker.com/engine/install/ubuntu/ sudo apt-get update sudo apt-get install \ ca-certificates \ curl \ gnupg \ lsb-release curl -fsSL 阅读全文
posted @ 2021-12-30 10:40 伊娜陈 阅读(105) 评论(0) 推荐(0) 编辑
摘要: 第一步安装虚拟机 1.下载虚拟机 https://www.virtualbox.org/wiki/Downloads 2.下载镜像 https://ubuntu.com/download/server 3. 安装虚拟机 4.虚拟机设置 (1)点击新建,起一个名称,选择自己要创建的系统类型 (2) 创 阅读全文
posted @ 2021-12-30 10:39 伊娜陈 阅读(501) 评论(0) 推荐(0) 编辑
摘要: 1.在主节点上这个位置新建devops文件夹,放入自己命名的.yml文件 (/home/对应自己的服务名文件夹) 创建文件夹devops并进入mkdir devopscd devops/2. 创建配置文件docker-compose.ymltouch docker-compose.yml: vers 阅读全文
posted @ 2021-12-30 10:38 伊娜陈 阅读(570) 评论(0) 推荐(0) 编辑