Replies: 1 comment 6 replies
-
The startup script aligns nginx and other configurations dynamically based on what you provided it (requires root). The script then sets up directories internally which require the root permission also. Then, when the script finishes, it's services run at the user you told it to (not root). You can verify this with |
Beta Was this translation helpful? Give feedback.
6 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I added
user: 1234:100
to the docker compose and I see this error in the docker logs: "You must be root to run this script."I normally avoid running containers as root for security reasons.
[edit] I did check that user 1234 has write permissions to the volumes I'm mounting. In fact, in the same stack, I have another container running using the same user, mounting volumes from the same directory without issue.
Beta Was this translation helpful? Give feedback.
All reactions