Difference between revisions of "Postgres Kubernetes"

From UVOO Tech Wiki
Jump to navigation Jump to search
Line 13: Line 13:
  
 
# Change userid
 
# Change userid
 +
 +
```
 +
chown: changing ownership of '/var/lib/postgresql/data/pgdata': Operation not permitted
 +
```
 +
 
- 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:35, 13 August 2021