File tree Expand file tree Collapse file tree 2 files changed +10
-0
lines changed Expand file tree Collapse file tree 2 files changed +10
-0
lines changed Original file line number Diff line number Diff line change @@ -148,6 +148,11 @@ in the output. The config test does not check if hostnames or ip addresses can b
148
148
More information can be found in the documentation at [ docs/configuration.md] ( docs/configuration.md )
149
149
and [ docs/connections.md] ( docs/connections.md ) .
150
150
151
+ * Remark: Errors on image startup with "permission denied" on config files might be caused due to
152
+ wrong runtime users running the image. "docker compose" in recent versions does not pick up the
153
+ user defined inside the Dockerfile and uses some other user, therefor it should be explicit set inside
154
+ the docker-compose.yml file as shown in the example file.*
155
+
151
156
## Environment Variables
152
157
153
158
These environment variables can be used starting Redis Commander as normal
@@ -292,8 +297,12 @@ services:
292
297
- REDIS_HOSTS=local:redis:6379
293
298
ports :
294
299
- " 8081:8081"
300
+ user : redis
295
301
` ` `
296
302
303
+ Attention - later version of compose do not honor the "USER" directive from the Dockerfile anymore,
304
+ user must be set explicit. Otherwise, "permission denied" errors are shown on startup.
305
+
297
306
### Without docker-compose
298
307
299
308
#### Simplest
Original file line number Diff line number Diff line change @@ -16,3 +16,4 @@ services:
16
16
- REDIS_HOSTS=local:redis:6379
17
17
ports :
18
18
- " 8081:8081"
19
+ user : redis
You can’t perform that action at this time.
0 commit comments