Azure-Samples / Azure-Samples/azure-postgres-pgvector-python
Workspace path error when using Docker Desktop for Mac with VSCode devcontainers extension
- 主要語言
- Bicep
- 星號
- 27
- 分支
- 14
- 平均合併
- 3 天 15 小時
- 30 天內合併 PR
- 1
描述
`azd up` fails when using Docker Desktop for Mac (4.36.0, default settings) with VSCode devcontainers extension:
```bash
✔ Container azure-postgres-pgvector-python_devcontainer-db-1 Started1.0s
⠙ Container azure-postgres-pgvector-python_devcontainer-app-1 Starting0.4s
Error response from daemon: Mounts denied:
The path /workspaces/azure-postgres-pgvector-python 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/settings/mac/#file-sharing for more info.
```
"Settings" -> "Resources" -> "File sharing" shows `/tmp` is shared by default.
貢獻指南
這個儲存庫沒有索引到貢獻指南
研究方向
先使用 Docker Desktop for Mac 和 VSCode devcontainers extension 重現 `azd up`,接著檢查儲存庫的 devcontainer 設定和 Docker 檔案共用設定。當應用程式容器啟動時不再出現 `/workspaces/azure-postgres-pgvector-python` mount-denied 錯誤,即表示完成。
由索引模型根據 Issue 內容生成。
評估
- 技術堆疊
- docker, python, vscode
- 領域
- developer-experience, devops
- Issue 類型
- 缺陷
- 難度
- 3/5
- 預估耗時
- 1-2 天
- 活躍度
- 停滯
- 描述清晰度
- 需要釐清
- 新手友好度
- 25/100