From 33885a2eec786d73881ed37fd1f4b683fadc2e91 Mon Sep 17 00:00:00 2001 From: anti Date: Fri, 10 Apr 2026 02:20:46 -0400 Subject: [PATCH] fix(conpot): Keep container as root to allow port 502 binding and fix user not found error --- templates/conpot/Dockerfile | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/templates/conpot/Dockerfile b/templates/conpot/Dockerfile index c1596ca..1c7db01 100644 --- a/templates/conpot/Dockerfile +++ b/templates/conpot/Dockerfile @@ -11,5 +11,4 @@ RUN find /opt /usr /etc /home -name "*.xml" -exec sed -i 's/5020<\/port>/< RUN find /opt /usr /etc /home -name "*.xml" -exec sed -i 's/port="5020"/port="502"/g' {} + 2>/dev/null || true # Switching back to the internal user if standard in conpot (falling back to nobody/conpot as appropriate) -# Conpot image usually runs as 'conpot' user -USER conpot +# End of Dockerfile