🏡 index : ~doyle/rgit.git

author Graskaas <graskaas-gaming@protonmail.com> 2023-08-28 19:32:12.0 +00:00:00
committer Graskaas <graskaas-gaming@protonmail.com> 2023-08-28 19:32:12.0 +00:00:00
commit
d8c2cde20136688b8afadf778242260f94802b3e [patch]
tree
a8ba4ab340ad000461fcf0e2bf47e3ac41c61afb
parent
56917a9720cde99c53e42088ddcbf3ff37e6f1a6
download
d8c2cde20136688b8afadf778242260f94802b3e.tar.gz

Update Docker instructions to include user permissions This is a fix for #10



Diff

 README.md | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/README.md b/README.md
index 88dbb49..054a794 100644
--- a/README.md
+++ b/README.md
@@ -115,5 +115,8 @@ Running rgit in Docker is also simple, just mount the directory containing your 

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