After running for a while with a large database i cannot start the container anymore. The entrypoint-script fails with
Initializing datadir...
/etc/docker-postgresql/functions: line 32: /bin/chmod: Argument list too long
counting the files shows
find ${PG_DATADIR} -type f | wc -l
42301
is this unusual much?