This repository was archived by the owner on Dec 14, 2019. It is now read-only.

Description
I am on Windows Server 2019 with LCOW. When I leave away the password, the docker container comes up correctly:
docker run --name some-postgres -d stellirin/postgres-windows
However, when I include the password, then I get the following error, any ideas?
docker run --name some-postgres -e POSTGRES_PASSWORD=mysecretpassword -d stellirin/postgres-windows
Error:
$ docker logs some-postgres
Access is denied.
The files belonging to this database system will be owned by user "ContainerUser".
This user must also own the server process.
The database cluster will be initialized with locale "C".
The default text search configuration will be set to "english".
Data page checksums are disabled.
initdb: could not open file "C:\.pgpass" for reading: No such file or directory
authMethod: md5
The system cannot find the drive specified.
PostgreSQL init process complete; ready for start up.