Replies: 1 comment 24 replies
-
@libook I agree it is a good idea to run as non-root. However, this will cause problems when working with extensions, installing additional dependencies, or wanting to customize the behaviour. |
Beta Was this translation helpful? Give feedback.
24 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Thank AbdBarho for maintaining this.
I just tried this, and it works very well. Pictures were generated with root user and root group. I have to do
chown
to operating them as normal users. So I have added lines intoservices/AUTOMATIC1111/Dockerfile
beforeWORKDIR
to let it run as a non-root user:(Also use
ARG
to customize UID and GID.)And I have modified
services/AUTOMATIC1111/entrypoint.sh
to switch home directory:Would this be a good idea?
Beta Was this translation helpful? Give feedback.
All reactions