The Postgres 10 docker entrypoint passes *invalid* parameters to initdb. The --xlogdir parameter has been replaced with --waldir. Trying to use the POSTGRES_INITDB_XLOGDIR env variable fails entirely on startup with an empty folder.