spline-getting-started icon indicating copy to clipboard operation
spline-getting-started copied to clipboard

docker-compose up ERROR

Open lipanshen12 opened this issue 2 years ago • 7 comments

Hello everyone, I started docker-compose up, and the error log: ”(root)Additional property name is not allowed“ Where is the problem? Docker Compose version v2.2.2

lipanshen12 avatar Jun 13 '23 02:06 lipanshen12

any more details? logs?

wajda avatar Jun 14 '23 09:06 wajda

[root@Cluster spline]# docker-compose up (root) Additional property name is not allowed [root@Cluster spline]# docker-compose ps (root) Additional property name is not allowed [root@Cluster spline]# docker-compose down (root) Additional property name is not allowed [root@Cluster spline]# docker-compose -f compose.yaml up (root) Additional property name is not allowed

lipanshen12 avatar Jun 15 '23 08:06 lipanshen12

The current docker-compose command is available, I don’t know where the problem is, please help, thank you very much!

lipanshen12 avatar Jun 15 '23 08:06 lipanshen12

sorry, what docker version did you say you were using? "2.2.2"? I guess it must be a typo, as my docker version is "23.0.4".

wajda avatar Jun 15 '23 19:06 wajda

Oh, sorry, I misread your comment. You meant the version of the Docker-compose plugin. But that seems to be outdated as well. My docker compose version is "2.17.3" and everything is working just fine.

wajda avatar Jun 15 '23 19:06 wajda

Thanks, I will try your Docker-compose version.

lipanshen12 avatar Jun 16 '23 08:06 lipanshen12

I think you can remove name property from compose.yml. Maybe it can be OK

huangzhigao886 avatar Aug 09 '23 08:08 huangzhigao886