-
Notifications
You must be signed in to change notification settings - Fork 121
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
cannot bind files in the /usr/local/bin #3582
Comments
Docker Desktop on Mac has a whitelist of host directories which may be shared with containers. Since
If you click on the whale menu -> Preferences you should be able to add Let me know if that makes it work as expected or if you're still having problems. |
I am facing the same issue. what is the resolution to this problem? |
Issues go stale after 90d of inactivity. Prevent issues from auto-closing with an If this issue is safe to close now please do so. Send feedback to Docker Community Slack channels #docker-for-mac or #docker-for-windows. |
Closed issues are locked after 30 days of inactivity. If you have found a problem that seems similar to this, please open a new issue. Send feedback to Docker Community Slack channels #docker-for-mac or #docker-for-windows. |
Expected behavior
Docker command successfully binds files in the /usr/local/bin in the same way Docker on Linux.
Actual behavior
When a docker command mounts with -v option, it shows the File Sharing error.
However, when it mounts with --mount option, it shows no such file or directory.
In fact, the target directory which is bound /usr/local/bin did not any binaries in the source path(it does not occured outside of /usr/local/bin, and no problem on Linux).
Information
Diagnostic logs
Steps to reproduce the behavior
The text was updated successfully, but these errors were encountered: