Docker on mac : docker: Error response from daemon: oci runtime error

I am using docker to run container on macOs Sierra 10.12 but getting below error :

ankushs-m01:common-end-user-catalog ankushs$ docker run -it -v /Users/ankushs/development/greenbox/dockertest/appdynamics.sh:/opt/vmware/idm/greenbox/appdynamics.sh \

-v /Users/ankushs/development/greenbox/dockertest/euc.properties:/opt/vmware/idm/greenbox/config/euc.properties
-v /Users/ankushs/development/greenbox/dockertest/cloudPrivateKey.p12:/opt/vmware/idm/greenbox/config/cloudPrivateKey.p12
-v /Users/ankushs/development/greenbox/dockertest/greenbox_client_secret:/opt/vmware/idm/greenbox/config/greenbox_client_secret
-v /Users/ankushs/development/greenbox/dockertest/logs:/opt/vmware/idm/greenbox/logs
-p 8080:8080 805eb14617cc bash
docker: Error response from daemon: oci runtime error: container_linux.go:247: starting container process caused “process_linux.go:359: container init caused “rootfs_linux.go:54: mounting \”/Users/ankushs/development/greenbox/dockertest/euc.properties\” to rootfs \"/var/lib/docker/overlay2/f9e98ee87d17932794fd604f21750b8c3d70b79276a816174a106c9ee3a6b6b6/merged\" at \"/var/lib/docker/overlay2/f9e98ee87d17932794fd604f21750b8c3d70b79276a816174a106c9ee3a6b6b6/merged/opt/vmware/idm/greenbox/config/euc.properties\" caused \“not a directory\”""
: Are you trying to mount a directory onto a file (or vice-versa)? Check if the specified host path exists and is the expected type.

Note: macOs Sierra 10.12