chmod: changing permissions of '/var/run/postgresql': Operation not permitted #1154
Closed
steakhutzeee
started this conversation in
General
Replies: 5 comments
|
I am curious to know why you are overriding the user? The default user and group for postgres is |
0 replies
It's an habit, i run "all" containers rootless. |
0 replies
|
Yeah, it's OK to ignore this error -- our entrypoint specifically ignores errors from this command because it's intended to be a best-effort change that will fail in exactly the case you're in (running as non-root). 👍 |
0 replies
|
Looks like newer pgres images have changed config that makes rootless use simpler. Only from v18 onwards container starts without the |
0 replies
This comment was marked as duplicate.
This comment was marked as duplicate.
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Hi,
I'm running this in my compose:
So running it as another user.
In the logs I see:
Read other issues about this but I'm not sure if my compose is ok and if I can just ignore this error.
Thanks!
All reactions