sameersbn / sameersbn/docker-gitlab

Running the container as non-root user in Linux throwing error

Open
#1,643 1 comment 0 reactions 0 assignees View on GitHub

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

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. 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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.