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
postgres | chmod: /var/lib/postgresql/data: Operation not permitted
postgres | chmod: /var/run/postgresql: Operation not permitted
postgres | The files belonging to this database system will be owned by user "tux".
postgres | This user must also own the server process.
postgres |
postgres | The database cluster will be initialized with locale "en_US.utf8".
postgres | The default database encoding has accordingly been set to "UTF8".
postgres | The default text search configuration will be set to "english".
postgres |
postgres | Data page checksums are disabled.
postgres |
postgres | initdb: error: could not change permissions of directory "/var/lib/postgresql/data": Operation not permitted
postgres | chmod: /var/lib/postgresql/data: Operation not permitted
postgres | chmod: /var/run/postgresql: Operation not permitted
postgres | fixing permissions on existing directory /var/lib/postgresql/data ... The files belonging to this database system will be owned by user "tux".
postgres | This user must also own the server process.
postgres |
postgres | The database cluster will be initialized with locale "en_US.utf8".
postgres | The default database encoding has accordingly been set to "UTF8".
postgres | The default text search configuration will be set to "english".
postgres |
postgres | Data page checksums are disabled.
postgres |
postgres | initdb: error: could not change permissions of directory "/var/lib/postgresql/data": Operation not permitted
postgres | chmod: /var/lib/postgresql/data: Operation not permitted
postgres | chmod: /var/run/postgresql: Operation not permitted
postgres | fixing permissions on existing directory /var/lib/postgresql/data ... The files belonging to this database system will be owned by user "tux".
postgres | This user must also own the server process.
postgres |
postgres | The database cluster will be initialized with locale "en_US.utf8".
postgres | The default database encoding has accordingly been set to "UTF8".
postgres | The default text search configuration will be set to "english".
postgres |
postgres | Data page checksums are disabled.
postgres |
postgres | initdb: error: could not change permissions of directory "/var/lib/postgresql/data": Operation not permitted
postgres | chmod: /var/lib/postgresql/data: Operation not permitted
postgres | chmod: /var/run/postgresql: Operation not permitted
postgres | fixing permissions on existing directory /var/lib/postgresql/data ... The files belonging to this database system will be owned by user "tux".
postgres | This user must also own the server process.
postgres |
postgres | The database cluster will be initialized with locale "en_US.utf8".
postgres | The default database encoding has accordingly been set to "UTF8".
postgres | The default text search configuration will be set to "english".
postgres |
postgres | Data page checksums are disabled.
postgres |
postgres | initdb: error: could not change permissions of directory "/var/lib/postgresql/data": Operation not permitted
postgres | chmod: /var/lib/postgresql/data: Operation not permitted
postgres | chmod: /var/run/postgresql: Operation not permitted
postgres | fixing permissions on existing directory /var/lib/postgresql/data ... The files belonging to this database system will be owned by user "tux".
postgres | This user must also own the server process.
postgres |
postgres | The database cluster will be initialized with locale "en_US.utf8".
postgres | The default database encoding has accordingly been set to "UTF8".
postgres | The default text search configuration will be set to "english".
postgres |
postgres | Data page checksums are disabled.
postgres |
postgres | initdb: error: could not change permissions of directory "/var/lib/postgresql/data": Operation not permitted
postgres | chmod: /var/lib/postgresql/data: Operation not permitted
postgres | chmod: /var/run/postgresql: Operation not permitted
postgres | fixing permissions on existing directory /var/lib/postgresql/data ... The files belonging to this database system will be owned by user "tux".
postgres | This user must also own the server process.
postgres |
postgres | The database cluster will be initialized with locale "en_US.utf8".
postgres | The default database encoding has accordingly been set to "UTF8".
postgres | The default text search configuration will be set to "english".
postgres |
postgres | Data page checksums are disabled.
postgres |
postgres | initdb: error: could not change permissions of directory "/var/lib/postgresql/data": Operation not permitted
postgres | chmod: /var/lib/postgresql/data: Operation not permitted
postgres | chmod: /var/run/postgresql: Operation not permitted
postgres | fixing permissions on existing directory /var/lib/postgresql/data ... The files belonging to this database system will be owned by user "tux".
postgres | This user must also own the server process.
postgres |
postgres | The database cluster will be initialized with locale "en_US.utf8".
postgres | The default database encoding has accordingly been set to "UTF8".
postgres | The default text search configuration will be set to "english".
postgres |
postgres | Data page checksums are disabled.
postgres |
postgres | initdb: error: could not change permissions of directory "/var/lib/postgresql/data": Operation not permitted
postgres | chmod: /var/lib/postgresql/data: Operation not permitted
postgres | chmod: /var/run/postgresql: Operation not permitted
postgres | fixing permissions on existing directory /var/lib/postgresql/data ... The files belonging to this database system will be owned by user "tux".
postgres | This user must also own the server process.
postgres |
postgres | The database cluster will be initialized with locale "en_US.utf8".
postgres | The default database encoding has accordingly been set to "UTF8".
postgres | The default text search configuration will be set to "english".
postgres |
postgres | Data page checksums are disabled.
postgres |
postgres | initdb: error: could not change permissions of directory "/var/lib/postgresql/data": Operation not permitted
postgres | chmod: /var/lib/postgresql/data: Operation not permitted
postgres | chmod: /var/run/postgresql: Operation not permitted
postgres | fixing permissions on existing directory /var/lib/postgresql/data ... The files belonging to this database system will be owned by user "tux".
postgres | This user must also own the server process.
postgres |
postgres | The database cluster will be initialized with locale "en_US.utf8".
postgres | The default database encoding has accordingly been set to "UTF8".
postgres | The default text search configuration will be set to "english".
postgres |
postgres | Data page checksums are disabled.
postgres |
postgres | initdb: error: could not change permissions of directory "/var/lib/postgresql/data": Operation not permitted
postgres | fixing permissions on existing directory /var/lib/postgresql/data ...
According to the container docs this should work https://hub.docker.com/_/postgres (see Arbitrary --user Notes at the bottom of the page).
The text was updated successfully, but these errors were encountered:
The prerequisite to this working is "as long as the owner of /var/lib/postgresql/data matches" -- did you pre-create ./data/postgresql on your host with appropriate ownership before starting the container? (If not, Docker probably created it for you with 0:0 ownership instead 🙈)
Using the following docker compose configuration:
postgresql returns:
According to the container docs this should work https://hub.docker.com/_/postgres (see
Arbitrary --user Notes
at the bottom of the page).The text was updated successfully, but these errors were encountered: