Add user: root to docker-compose.yaml to avoid permission errors#1285
Add user: root to docker-compose.yaml to avoid permission errors#1285
user: root to docker-compose.yaml to avoid permission errors#1285Conversation
|
@dwrth Nice catch. Using the Here is an example of how I moved the sample files up to the root of the docker container filesystem. You might also try something like |
|
@kmcginnes Sadly that also did not fix the issue for me and I still had to manually change permissions for that directory. I came up with another potential solution that works straight out of the box but does not require using Let me know what you think! |
That's unfortunate.
I do like this solution better than the root user solution. I'll check with my team mates to make sure I'm not missing anything, but I think this is a fine approach. |
Description
This PR adds
user: rootto the docker-compose.yaml file in the sample/ directory.Validation
After adding the line, the permission error mentioned in the issue is no longer thrown.
Related Issues
Fixes #1284
Check List
license.
pnpm checksto ensure code compiles and meets standards.pnpm testto check if all tests are passing.Changelog.md.