Update README.md
This commit is contained in:
parent
345d06c675
commit
a0eaf2ad27
12
README.md
12
README.md
|
|
@ -23,15 +23,15 @@ docker run -d \
|
|||
|
||||
### More on PUID and PGID from [linuxserver.io](https://hub.docker.com/r/linuxserver/duckdns)
|
||||
|
||||
When using volumes (-v flags) permissions issues can arise between the host OS and the container, we avoid this issue by allowing you to specify the user `PUID` and group `PGID`.
|
||||
When using volumes (-v flags), permissions issues can arise between the host OS and the container. We avoid this issue by allowing you to specify the user `PUID` and group `PGID`.
|
||||
|
||||
Ensure any volume directories on the host are owned by the same user you specify and any permissions issues will vanish like magic.
|
||||
|
||||
In this instance `PUID=1000` and `PGID=1000`, to find yours use id user as below:
|
||||
|
||||
> $ id username
|
||||
> uid=1000(dockeruser) gid=1000(dockergroup) groups=1000(dockergroup)
|
||||
|
||||
In this instance `PUID=1000` and `PGID=1000`. To find yours use id user as below:
|
||||
```
|
||||
$ id username
|
||||
uid=1000(dockeruser) gid=1000(dockergroup) groups=1000(dockergroup)
|
||||
```
|
||||
You only need to set the PUID and PGID variables if you are mounting the `/var/www/html` folder
|
||||
|
||||
## Changelog
|
||||
|
|
|
|||
Loading…
Reference in New Issue