From d096287aedf42447941b253c13391884dcaf9f45 Mon Sep 17 00:00:00 2001 From: Robert Dailey Date: Mon, 11 Jul 2022 21:38:25 -0500 Subject: [PATCH] docs(wiki): Warn about using docker exec --- wiki/Docker.md | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/wiki/Docker.md b/wiki/Docker.md index 230743e4..c425c9a8 100644 --- a/wiki/Docker.md +++ b/wiki/Docker.md @@ -137,6 +137,16 @@ docker compose run --rm recyclarr radarr --preview --debug **TIP:** The `--rm` option ensures the container is deleted after it runs (without it, your list of stopped containers will start to grow the more often you run it manually). +#### Warning about `docker exec` + +I will not support any usage of `docker exec`, for now. It's far too error prone and can result in +mixed file permissions in Recyclarr's app data directory (the `/config` volume). Please use `docker +run --rm` instead (documented in the previous section). + +When you run `docker exec` without the `--user` option, commands are executed as the internal root +user. If you absolutely insist on using this command, ensure you specify a user & group that matches +the `PUID` & `PGID` environment variables. + ### Cron Mode In this mode, no immediate action is performed. Rather, the container remains alive and continuously