Docker build failed

Hi! I was following the guide to run Metafresh in a Docker container but once I reached the point docker-compose build I get an error: (root) Additional property app is not allowed
I was trying to run the docker on a Win10 Machine with the latest Docker Desktop.

this is due to docker-compose version. V1.29.1 works fine. v2 and later seems to create this issue.

Hi Manuel, thank you very much. As docker-compose is now part of docker-desktop it’s a bit tricky to install an older version of docker-compose. If I am going to install an older version of docker-desktop it will not cover the log4j security issue:

Docker doc:

Security

Log4j 2 CVE-2021-44228 : We have updated the docker scan CLI plugin for you. Older versions of docker scan in Docker Desktop 4.3.0 and earlier versions are not able to detect Log4j 2 CVE-2021-44228.

Hi, you don’t need to downgrade docker-desktop.
Instead, just go to Settings => General and untick “User Docker Compose V2”

Best,
Tobias