aboutsummaryrefslogtreecommitdiff
path: root/README-Docker.md
diff options
context:
space:
mode:
authorAndrew Rabert <6550543+nvllsvm@users.noreply.github.com>2018-07-04 02:42:29 -0400
committerJakob Borg <jakob@kastelo.net>2018-07-04 08:42:29 +0200
commit5bb72dfe5dc063ceec0b0617246bd3d86a64bfe8 (patch)
tree4f67155ad81f7ff76119a518b380663fd6ce6396 /README-Docker.md
parent0b73a6651644fa1c4842df4e205387d1d08f7cdd (diff)
downloadsyncthing-5bb72dfe5dc063ceec0b0617246bd3d86a64bfe8.tar.gz
syncthing-5bb72dfe5dc063ceec0b0617246bd3d86a64bfe8.zip
docker: Add configurable UID and GID (#5041)
Allows for configuring the UID and GID Syncthing runs as in the container. Uses su-exec from the Alpine repos to accomplish this. Addition of su-exec results in <2MB increase in image size.
Diffstat (limited to 'README-Docker.md')
-rw-r--r--README-Docker.md4
1 files changed, 2 insertions, 2 deletions
diff --git a/README-Docker.md b/README-Docker.md
index fc6504ccd..4e8516358 100644
--- a/README-Docker.md
+++ b/README-Docker.md
@@ -11,8 +11,8 @@ The exposed volumes are by default:
You can add more folders and map them as you prefer.
-Note that Syncthing runs as UID 1000 in the container. This UID must have
-permission to read and modify the files in the containers.
+Note that Syncthing runs as UID 1000 and GID 1000 by default. These may be
+altered with the ``PUID`` and ``PGID`` environment variables.
Example usage: