45 lines
2.2 KiB
Text
45 lines
2.2 KiB
Text
The files belonging to this database system will be owned by user "postgres".
|
|
This user must also own the server process.
|
|
|
|
The database cluster will be initialized with locale "en_US.utf8".
|
|
The default database encoding has accordingly been set to "UTF8".
|
|
The default text search configuration will be set to "english".
|
|
|
|
Data page checksums are disabled.
|
|
|
|
fixing permissions on existing directory /var/lib/postgresql/data ... ok
|
|
creating subdirectories ... ok
|
|
selecting dynamic shared memory implementation ... posix
|
|
selecting default max_connections ... 100
|
|
selecting default shared_buffers ... 128MB
|
|
selecting default time zone ... UTC
|
|
creating configuration files ... ok
|
|
running bootstrap script ... ok
|
|
performing post-bootstrap initialization ... ok
|
|
syncing data to disk ... ok
|
|
|
|
|
|
Success. You can now start the database server using:
|
|
|
|
pg_ctl -D /var/lib/postgresql/data -l logfile start
|
|
|
|
waiting for server to start....2026-10-18 00:52:33.016 UTC [66] LOG: starting PostgreSQL 16.14 on x86_64-pc-linux-musl, compiled by gcc (Alpine 15.2.0) 15.2.0, 64-bit
|
|
2026-10-18 00:52:33.019 UTC [66] LOG: listening on Unix socket "/socket/.s.PGSQL.5432"
|
|
2026-10-18 00:52:33.030 UTC [69] LOG: database system was shut down at 2026-10-18 00:52:32 UTC
|
|
2026-10-18 00:52:33.039 UTC [66] LOG: database system is ready to accept connections
|
|
done
|
|
server started
|
|
https://www.postgresql.org/docs/current/auth-trust.html
|
|
In Docker's default configuration, this is effectively any other
|
|
container on the same system.
|
|
|
|
It is not recommended to use POSTGRES_HOST_AUTH_METHOD=trust. Replace
|
|
it with "-e POSTGRES_PASSWORD=password" instead to set a password in
|
|
"docker run".
|
|
********************************************************************************
|
|
sh: locale: not found
|
|
2026-10-18 00:52:31.773 UTC [48] WARNING: no usable system locales were found
|
|
initdb: warning: enabling "trust" authentication for local connections
|
|
initdb: hint: You can change this by editing pg_hba.conf or using the option -A, or --auth-local and --auth-host, the next time you run initdb.
|
|
psql: error: connection to server on socket "/var/run/postgresql/.s.PGSQL.5432" failed: No such file or directory
|
|
Is the server running locally and accepting connections on that socket?
|