You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The problem here arises from user permissions; the files in the mounted volume get chowned to the postgres user of the container by the entrypoint script (which happens to be 999) so that postgres can access the data. So, no there is no way to give your user permission to the files.
This is how I run Postgres container:
I can see created directory:
But the problem is that I have no permissions to delete it:
If I do it as root, it works.
Are there any way to delete it as non-root user? I am in
docker
group already.The text was updated successfully, but these errors were encountered: