Mounts denied: <path> is "not shared from OSX and not known to Docker"
Hi - I'm pretty new to Docker - and, to a lesser extent as a recovering Windows user, to PyCharm and MacOS. I'm not able to create a remote interpreter for a Django project I have set up on my local machine using docker-compose, pulling the images from my dev team's repo.
My setup: MacBook Pro with High Sierra 10.132, Docker 17.09.1, docker-compose 1.17.
Build/Execution/Deployment - I am connecting to Docker daemon via Docker for Mac, where I am mapping Virtual machine path /panda to Local path /Users/mcbolgiano/projects/panda.
When I attempt to configure remote interpreter, selecting Docker for Compose and the connection above, it throws the following error:
Can't create Python SDK
com.github.dockerjava.api.exception.DockerException:
Mounts denied: The path /panda is not shared from OSX and not known to Docker.
It suggests configuring shared paths via Docker>Preferences>File Sharing, but panda is a sub-directory of /Users, which is already shared - and from what I understand, should already be known to Docker.
I've seen references to problems with PyCharm and docker-compose, as well as with High Sierra MacOS, but tend to think this might be something simple I'm missing because I'm not completely familiar with Docker and MacOS.
Any help would be very much appreciated!
请先登录再写评论。