WithBindMount issues with file permissions and mapping cross OS
Open
area-integrations
area-orchestrator
- Dominant language
- C#
- Stars
- 6.3k
- Forks
- 991
- Avg merge
- 2d 15h
- Merged PRs (30d)
- 196
Description
There are several issues with `WithBindMount` that have been filed by users resulting in 2 themes:
1. When there's a mismatch between the container and the host user, the container may have insufficient permissions to access to file (we've worked around this before https://github.com/dotnet/aspire/pull/4191)
2. When the host for the docker container isn't the same as the machine calling WithBindMount, paths don't get mapped directly.
I ran into this while trying to run our tests on github actions. Certain containers when using a bind mount need to set the permissions to make it accessible.
We should look into fixing these issues.
Contributor guide
Assessment
This issue has not been assessed yet.