Wrong ownership of postgres data directory (windows)
Opened this issue · 2 comments
p3trus commented
The postgres db creates the following error on windows.
database_1 | waiting for server to start....2018-11-02 15:30:10.464 UTC [30] FATAL: data directory "/var/lib/postgresql/data" has wrong ownership
database_1 | 2018-11-02 15:30:10.464 UTC [30] HINT: The server must be started by the user that owns the data directory.
database_1 | pg_ctl: could not start server
database_1 | Examine the log output.
database_1 | stopped waiting
This seems to be a known issue according to docker-library/postgres#435 . A possible solution would be to use named volumes.
kfrajtak commented
Modify the docker-compose.yml
file to use named volume, see docker-library/postgres#435.
oscarnascimento commented
Hi, friends. Any plans?