Cannot complete the docker compose on MacOS (M3)
Closed this issue · 0 comments
When I run : docker-compose -f docker-compose.yml -f docker-compose.override.yml up -d
I have error :
Error response from daemon: Mounts denied:
....
✔ Container basketdb Started 1.1s
! orderdb The requested image's platform (linux/amd64) does not match the detected host platform (linux/arm64/v8) and no specific platform was requested 0.0s
✔ Container src-ordering.api-1 Created 0.2s
✔ Container src-catalog.api-1 Created 0.2s
✔ Container src-basket.api-1 Created 0.2s
✔ Container src-yarpapigateway-1 Created 0.2s
✔ Container src-shopping.web-1 Created 0.2s
Error response from daemon: Mounts denied:
The path /Microsoft/UserSecrets 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.
How to fix it ?
