Update Docker instructions to include user permissions This is a fix for #10
Diff
README.md | 3 +++
1 file changed, 3 insertions(+)
@@ -115,5 +115,8 @@
```bash
docker run --mount type=bind,source=/path/to/my-repos,target=/git \
--user $UID:$GID \
-it ghcr.io/w4/rgit:main
```
**Note**: Take care to replace `$UID` and `$GID` with the UID and GID of the user that owns the directory containing your repositories or there will be errors! [See here](https://linuxhandbook.com/uid-linux/) to learn how to find the UID of a user.