meg*_*gas 5 macos discourse docker
我正在按照标准指南在我的本地mac上安装话语.启动安装工具后,./discourse-setup我收到错误消息:
cd /pups && git pull && /pups/bin/pups --stdin
/usr/local/bin/docker: Error response from daemon: Mounts denied: er.com/docker-for-mac/osxfs/#namespaces for more info.
.
r/discourse/shared/standalone/log/var-log
are not shared from OS X and are not known to Docker.
You can configure shared paths from Docker -> Preferences... -> File Sharing.
Run Code Online (Sandbox Code Playgroud)
最初我尝试安装到/ Users中的工作目录.此文件夹位于"文件共享"中.
然后我安装到/ var/discourse文件夹,同样的错误.我假设该var文件夹不在Docker文件共享中,所以我尝试将/var文件夹添加到Docker的共享文件并获得消息
The path /var is reserved by Docker
Run Code Online (Sandbox Code Playgroud)
这可能是个问题?
转到屏幕顶部的 Docker 图标,然后单击Preferences->File Sharing并添加与 /var 不同的其他文件夹,例如:/Applications/htdocs/myproject/每个文件夹都应专用于一个项目。
| 归档时间: |
|
| 查看次数: |
1040 次 |
| 最近记录: |