Mac Docker 挂载数据卷失败
问题描述:
docker: Error response from daemon: Mounts denied: The path /srv/docker/bind is not shared from the host and is not known to Docker. You can configure shared paths from Docker -> Preferences... -> Resources -> File Sharing. See https://docs.docker.com/desktop/mac for more info.
docker: Error response from daemon: Mounts denied: The path /srv/docker/bind is not shared from OS X and is not known to Docker. You can configure shared paths from Docker -> Preferences... -> File Sharing. See https://docs.docker.com/docker-for-mac/osxfs/#namespaces for more info.
问题解决:
挂载路径错误,更改路径后正常运行。