🏡 index : ~doyle/rgit.git

author jordan <jordan@doyle.la> 2023-08-30 8:13:43.0 +01:00:00
committer GitHub <noreply@github.com> 2023-08-30 8:13:43.0 +01:00:00
commit
f539ac9d3de6eb8146b3d37fe43c2b3436d0a128 [patch]
tree
bea7e85aa0d3fbb8473c8a96450178df0af3ad25
parent
40dcfdb8dabddbb0b003505ee39afa3ae7a41239
parent
f32e304bc1068ed80e3e12801c3de84e6fdacfd5
download
f539ac9d3de6eb8146b3d37fe43c2b3436d0a128.tar.gz

Merge pull request #19 from graskaas/docker-fix

Update Docker instructions to include user permissions

Diff

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

diff --git a/README.md b/README.md
index 3a2e03c..89136b3 100644
--- a/README.md
+++ a/README.md
@@ -115,8 +115,11 @@

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

#### Docker Compose