栏目分类:
子分类:
返回
名师互学网用户登录
快速导航关闭
当前搜索
当前分类
子分类
实用工具
热门搜索
名师互学网 > IT > 系统运维 > 运维 > Linux

编写docker-compose.yml文件中常见错误

Linux 更新时间: 发布时间: IT归档 最新发布 模块sitemap 名妆网 法律咨询 聚返吧 英语巴士网 伯小乐 网商动力

编写docker-compose.yml文件中常见错误

第一种:低级语法错误

显示:

You might be seeing this error because you're using the wrong 
Compose file version. Either specify a supported version (e.g "2.2" or "3.3") and
 place your service definitions under the `services` key, or omit the `version`
 key and place your service definitions at the root of the file to use version 1.

并不是版本错误,不用查找版本version: "3.9"之类的错误

是文件docker-compose.yml中的单词用错了
version: “3.9”
sevices
networks
volumes

第二种:待更新
转载请注明:文章转载自 www.mshxw.com
本文地址:https://www.mshxw.com/it/860107.html
我们一直用心在做
关于我们 文章归档 网站地图 联系我们

版权所有 (c)2021-2022 MSHXW.COM

ICP备案号:晋ICP备2021003244-6号