docker-compose up ERROR
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
any more details? logs?
[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
The current docker-compose command is available, I don’t know where the problem is, please help, thank you very much!
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".
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.
Thanks, I will try your Docker-compose version.
I think you can remove name property from compose.yml. Maybe it can be OK