(root) Additional property ***** is not allowed

Cause and solution

After upgrading from docker-compose1.x to docker-compose2.x, you need to modify the first line of the docker-compose.yml file to add services:fields

insert image description here

Guess you like

Origin blog.csdn.net/MAINKEYS/article/details/130027342