Azure-Samples / Azure-Samples/azure-postgres-pgvector-python

Workspace path error when using Docker Desktop for Mac with VSCode devcontainers extension

Aperta
#35 0 commenti 0 reazioni 0 assegnatari Vedi su GitHub
Lingua principale
Bicep
Stelle
27
Fork
14
Merge medio
3g 15h
PR unite (30g)
1

Descrizione

`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.

Guida per i contributori

Nessuna guida per i contributori indicizzata per questo repository

Valutazione

Questa issue non è ancora stata valutata.

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.