H1ve icon indicating copy to clipboard operation
H1ve copied to clipboard

在docker-compose出现了问题

Open hackpwnpwn opened this issue 4 years ago • 2 comments

image 此处镜像已经404

hackpwnpwn avatar Jan 22 '20 12:01 hackpwnpwn

这应该不是404,是网络的问题,重新试一试就好了。

0akarma avatar Jan 23 '20 15:01 0akarma

请问这是什么原因呢? ERROR: Version in "./single.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 the services key, or omit the version 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/

archimesan avatar Mar 11 '20 06:03 archimesan