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)
|
### 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.
|
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:
|
In this instance `PUID=1000` and `PGID=1000`. To find yours use id user as below:
|
||||||
|
```
|
||||||
> $ id username
|
$ id username
|
||||||
> uid=1000(dockeruser) gid=1000(dockergroup) groups=1000(dockergroup)
|
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
|
You only need to set the PUID and PGID variables if you are mounting the `/var/www/html` folder
|
||||||
|
|
||||||
## Changelog
|
## Changelog
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue