From 9fe340aaa522c2752041f129654ffdbcccc8b706 Mon Sep 17 00:00:00 2001 From: Splinter7914 Date: Sun, 8 Feb 2026 10:10:08 -0600 Subject: [PATCH] docker: add non root user info --- docs/docker-wiki-full.md | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/docs/docker-wiki-full.md b/docs/docker-wiki-full.md index 18941dd55..01e7d2c82 100644 --- a/docs/docker-wiki-full.md +++ b/docs/docker-wiki-full.md @@ -55,6 +55,19 @@ docker run --rm -it --network=host \ ghcr.io/audionut/upload-assistant:latest /downloads/path/to/content --help ``` +## Run as non root +mount `tmp` and `banned` directories to run as a non root user + +``` +docker run --rm -it --network=host \ +-u 1000:1000 \ +-v /full/path/to/config.py:/Upload-Assistant/data/config.py \ +-v /full/path/to/downloads:/downloads \ +-v /full/path/to/tmp:/Upload-Assistant/tmp \ +-v /full/path/to/banned:/Upload-Assistant/data/banned \ +ghcr.io/audionut/upload-assistant:latest /downloads/path/to/content --help +``` + ## What is docker? Google is your friend