Difference between revisions of "Postgres Kubernetes"

From UVOO Tech Wiki
Jump to navigation Jump to search
Line 17: Line 17:
 
chown: changing ownership of '/var/lib/postgresql/data/pgdata': Operation not permitted
 
chown: changing ownership of '/var/lib/postgresql/data/pgdata': Operation not permitted
 
```
 
```
 
+
- https://github.com/docker-library/postgres/issues/361
 
- https://stackoverflow.com/questions/50642924/how-to-map-user-permissions-defined-in-a-docker-container-that-already-exist-on
 
- https://stackoverflow.com/questions/50642924/how-to-map-user-permissions-defined-in-a-docker-container-that-already-exist-on
 
```
 
```
 
docker run --entrypoint="bash" postgres -c  'usermod -u 2006 postgres;exec /docker-entrypoint.sh postgres'
 
docker run --entrypoint="bash" postgres -c  'usermod -u 2006 postgres;exec /docker-entrypoint.sh postgres'
 
```
 
```

Revision as of 15:59, 13 August 2021