Your engine version might support version 2.4 files, but your docker-compose version does not!
You either need to change the version to 2.3 or update your docker-compose version to 1.21.0 or newer.
Basically my “community” install is the latest avail as far as I’m aware.
Ok, update. The github version of docker-compose is much newer than the Ubuntu depositories.
So I deleted apt-get install of compose. D/L the github version 1.25.x. That installed easily.
Then the neofs-local suddenly started working. What an adventure to get Docker functioning!!