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

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

Open
#35 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
Bicep
Stars
27
Forks
14
Avg merge
3d 15h
Merged PRs (30d)
1

Description

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

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.