先总结一下昨天在服务器端搭建这个平台出了啥子问题
疯狂报错——
Version in “./docker-compose.yml” is unsupported. You might be seeing
this error because you’re using the wrong Compose file version. Either
specify a version of “2” (or “2.0”) and place your service definitions
under theservices
key, or omit theversion
key and place your
service definitions at the root of the file to use version 1. For more
on the Compose file format versions, see
https://docs.docker.com/compose/compose-file/
后来查了一篇博客,说是因为操作系统的问题
事实证明,这篇博客有点坑,可能试用它不适用我,正确的做法应该是——