From a0eaf2ad27ee61d39c36db36bfd8d309a5348f05 Mon Sep 17 00:00:00 2001 From: kongkrit <45794368+kongkrit@users.noreply.github.com> Date: Fri, 3 Jan 2020 02:04:24 +0700 Subject: [PATCH] Update README.md --- README.md | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/README.md b/README.md index dc043e4..f4204dd 100644 --- a/README.md +++ b/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