Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Docker documentation-nobody as user #2470

Open
sandman98321 opened this issue Jun 4, 2024 · 5 comments
Open

Docker documentation-nobody as user #2470

sandman98321 opened this issue Jun 4, 2024 · 5 comments

Comments

@sandman98321
Copy link

sandman98321 commented Jun 4, 2024

I'd like to suggest that the default docker user id being assigned as 'nobody' be mentioned somewhere in the docker installation documentation.

This is breaking for some installation configurations (mine: small experimental lab with Portainer as root, which results in a container that looks running but isn't actually working...my level of frustration at struggling fo 2 hours to figure out why a container wont deploy, only to find an issue 7 years old, but undocumented without digging into git to find it.....)

I don't have the requisite experience or time to make a pull request on this.

My thought would be to use language like this: "While running Docker containers as root it not recommended, those running in this way should be aware that the container runs as user "nobody" by default. This will potentially cause permissions errors in certain deployment environments."

@bwplotka
Copy link
Member

bwplotka commented Jul 5, 2024

This makes sense, good idea! It's general docker knowledge though, but maybe we can find a good place for this.

WDYT @SuperQ ?

@Gopi-eng2202
Copy link
Contributor

Hi @bwplotka ,
I can work on this, if it still needs help

@bwplotka
Copy link
Member

Please go for it

@Gopi-eng2202
Copy link
Contributor

Ok, ill work on it.

@Gopi-eng2202
Copy link
Contributor

@bwplotka & @sandman98321 , the documentation for docker installation is placed in prometheus/prometheus(https://github.com/prometheus/prometheus/blob/main/docs/installation.md?plain=1) repo.
Can you please close the issue here and create a new one in the prometheus/prometheus repo? and tag me there so
I can solve it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants