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 default max_connections ... 100
selecting default shared_buffers ... 128MB
selecting dynamic shared memory implementation ... posix
creating configuration files ... ok
running bootstrap script ... ok
sh: locale: not found
2021-08-13 06:14:19.681 UTC [28] WARNING:  no usable system locales were found
performing post-bootstrap initialization ... ok

WARNING: enabling "trust" authentication for local connections
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.
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....2021-08-13 06:14:21.644 UTC [32] LOG:  listening on Unix socket "/var/run/postgresql/.s.PGSQL.5432"
2021-08-13 06:14:21.929 UTC [33] LOG:  database system was shut down at 2021-08-13 06:14:20 UTC
2021-08-13 06:14:22.037 UTC [32] LOG:  database system is ready to accept connections
 done
server started
CREATE DATABASE

CREATE ROLE


/usr/local/bin/docker-entrypoint.sh: ignoring /docker-entrypoint-initdb.d/*

waiting for server to shut down...2021-08-13 06:14:24.149 UTC [32] LOG:  received fast shutdown request
.2021-08-13 06:14:24.361 UTC [32] LOG:  aborting any active transactions
2021-08-13 06:14:24.362 UTC [32] LOG:  worker process: logical replication launcher (PID 39) exited with exit code 1
2021-08-13 06:14:24.362 UTC [34] LOG:  shutting down
2021-08-13 06:14:25.033 UTC [32] LOG:  database system is shut down
 done
server stopped

PostgreSQL init process complete; ready for start up.

2021-08-13 06:14:25.167 UTC [1] LOG:  listening on IPv4 address "0.0.0.0", port 5432
2021-08-13 06:14:25.167 UTC [1] LOG:  listening on IPv6 address "::", port 5432
2021-08-13 06:14:25.308 UTC [1] LOG:  listening on Unix socket "/var/run/postgresql/.s.PGSQL.5432"
2021-08-13 06:14:25.597 UTC [45] LOG:  database system was shut down at 2021-08-13 06:14:24 UTC
2021-08-13 06:14:25.622 UTC [1] LOG:  database system is ready to accept connections
2021-08-13 06:16:01.830 UTC [52] LOG:  unexpected EOF on client connection with an open transaction
2021-08-13 06:18:20.741 UTC [56] LOG:  unexpected EOF on client connection with an open transaction
2021-08-13 08:45:04.949 UTC [385] LOG:  invalid length of startup packet
2021-08-13 10:52:16.261 UTC [652] LOG:  invalid length of startup packet