aboutsummaryrefslogtreecommitdiffhomepage
path: root/support/doc/docker.md
diff options
context:
space:
mode:
authorFlorent Poinsaut <florent@poinsaut.fr>2018-04-15 22:28:05 +0200
committerChocobozzz <me@florianbigard.com>2018-04-16 09:33:49 +0200
commit399d20eae6ec4e7a7fda1afd0e8b1a11a2cb1714 (patch)
treebdcfae14155f42e6ad8b3779ad8a7b50a2a9a2a4 /support/doc/docker.md
parent864e782bc2306f7154a185361ebf94e6e86472e8 (diff)
downloadPeerTube-399d20eae6ec4e7a7fda1afd0e8b1a11a2cb1714.tar.gz
PeerTube-399d20eae6ec4e7a7fda1afd0e8b1a11a2cb1714.tar.zst
PeerTube-399d20eae6ec4e7a7fda1afd0e8b1a11a2cb1714.zip
use gosu to fix /data permissions errors
Diffstat (limited to 'support/doc/docker.md')
-rw-r--r--support/doc/docker.md12
1 files changed, 0 insertions, 12 deletions
diff --git a/support/doc/docker.md b/support/doc/docker.md
index 3d25d06c4..e0c03a1dc 100644
--- a/support/doc/docker.md
+++ b/support/doc/docker.md
@@ -50,18 +50,6 @@ balancer, although any HTTP reverse proxy will work fine. See the example
50Nginx configuration `support/nginx/peertube` file to get an idea of 50Nginx configuration `support/nginx/peertube` file to get an idea of
51recommendations and requirements to run PeerTube the most efficiently. 51recommendations and requirements to run PeerTube the most efficiently.
52 52
53When starting the containers for the first time, you will get permissions errors for the data volume, like this one:
54
55```
56Error: EACCES: permission denied, mkdir '/data/logs'
57```
58
59The peertube user inside the container has a UID and GID of 991 so you have to change the folder's owner, in the case you're using `./data`:
60
61```
62chown -R 991:991 data/
63```
64
65**Important**: note that you'll get the initial `root` user password from the 53**Important**: note that you'll get the initial `root` user password from the
66program output, so check out your logs to find them. 54program output, so check out your logs to find them.
67 55