Mounts denied: docker-for-mac/osxfs/#namespaces

Hello I try to run the following command:
$ docker run -v /path/to/input:/Users/markus/Desktop/OGC/Landcover/home/worker/workDir/inDir:ro -v /path/to/FTEP-WPS-INPUT.properties:/Users/markus/Desktop/OGC/Landcover/home/worker/workDir/FTEP-WPS-INPUT.properties:ro -v /path/to/output:/Users/markus/Desktop/OGC/Landcover/home/worker/workDir/outDir:rw ftep/landcovers2

But I am getting the following error message:

docker: Error response from daemon: Mounts denied: ocker-for-mac/osxfs/#namespaces for more info.
.
-WPS-INPUT.properties and /path/to/output
are not shared from OS X and are not known to Docker.
You can configure shared paths from Docker -> Preferences… -> File Sharing.

I tried to configure the shared preferences but got still errors.