Added more warnings about sudo -E to docker docs

Related to issue #1319
This commit is contained in:
Jan Böhmer 2026-03-30 20:03:25 +02:00
parent 991daf0ead
commit 52df554b29
2 changed files with 7 additions and 0 deletions

View file

@ -95,6 +95,11 @@ services:
docker-compose up -d
```
{: .warning }
> If you run a root console inside the docker container, and wanna execute commands on the webserver behalf, be sure to use `sudo -E` command (with the `-E` flag) to preserve env variables from the current shell.
> Otherwise Part-DB console might use the wrong configuration to execute commands.
6. Create the initial database with
```bash