not shared from OS X and are not known to Docker
最近在学习docker时候出现如下错误:
for zoo1 Cannot start service zoo1: b'Mounts denied: \r\nThe paths /usr/local/docker/zookeeper/zoo1/datalog and /usr/local/docker/zookeeper/zoo1/data\r\nare not shared from OS X and are not known to Docker.\r\nYou can configure shared paths from Docker -> Preferences... -> File Sharing.\r\nSee https://docs.docker.com/docker-for-mac/osxfs/#namespaces for more info.\r\n.'
ERROR: Encountered errors while bringing up the project.
解决方案如下
参考:https://blog.csdn.net/nanxiaotao/article/details/80618516