第一种:低级语法错误

显示:

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

第二种:待更新

Logo

权威|前沿|技术|干货|国内首个API全生命周期开发者社区

更多推荐