Docker Error: … is mounted on / but it is not a shared mount

Got this error after changing machine and docker-compose up

Meaning this might be issue from different Docker version.

Trailing Slash

Found the problem is from trailing slash, so change docker-compose.yml

Change from user-upload/ to user-upload make this work

Hope this help !