sameersbn / sameersbn/docker-gitlab
Running the container as non-root user in Linux throwing error
Open
Nobody has claimed this yet.
wontfix
- Dominant language
- Shell
- Stars
- 8.1k
- Forks
- 2.1k
- Avg merge
- 17h 47m
- Merged PRs (30d)
- 7
Description
I am trying to execute the container in non-root user in Linux machine. I am getting the below error -
"chown: changing ownership of '/var/log/gitlab/supervisor': Operation not permitted"
What should be done here to execute as non root user ?
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by reproducing the container execution on a Linux host as a non-root user and inspect the ownership operation for /var/log/gitlab/supervisor. Determine the supported way to run the container without that permission error, then document or verify the resulting invocation and behavior.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- docker, linux
- Domain
- infrastructure
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 20/100