docs icon indicating copy to clipboard operation
docs copied to clipboard

Docker documentation-nobody as user

Open sandman98321 opened this issue 1 year ago • 5 comments

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."

sandman98321 avatar Jun 04 '24 14:06 sandman98321

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

WDYT @SuperQ ?

bwplotka avatar Jul 05 '24 07:07 bwplotka

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

Gopi-eng2202 avatar Nov 14 '24 13:11 Gopi-eng2202

Please go for it

bwplotka avatar Nov 14 '24 20:11 bwplotka

Ok, ill work on it.

Gopi-eng2202 avatar Nov 15 '24 10:11 Gopi-eng2202

@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.

Gopi-eng2202 avatar Nov 16 '24 08:11 Gopi-eng2202