Docker: Mounts denied. The paths … are not shared from OS X and are not known to Docker
问题 The command docker run -v /var/folders/zz/... produces the following error. docker: Error response from daemon: Mounts denied: The paths /var/folders/zz/... and /var/folders/zz/... are not shared from OS X and are not known to Docker. You can configure shared paths from Docker -> Preferences... -> File Sharing. When I do open File Sharing, I see that /private is listed already. If I attempt to add /var/folder/ , it resolves to /private/var/folders , which is a subset of /private and hence the