How can I fix the error mounting caused "not a directory" when using docker-compose?

Seems to be a Docker/OSX error, can you check this thread? It’s related:

As James said, there are no official builds for OSX. However you may fetch the source code and build it yourself, I use it for development purposes, under OSX and works just fine!