Closed
Description
I am trying to mount it directly from the Mac file system.
docker run -v $HOME/postgres_data:/var/lib/postgresql kartoza/postgi
This results in a bunch of errors about user permissions:
initdb: could not create directory "/var/lib/postgresql/9.3/main/global": Permission denied
2015-01-07 16:33:52 UTC FATAL: data directory "/var/lib/postgresql/9.3/main" has wrong ownership
2015-01-07 16:33:52 UTC HINT: The server must be started by the user that owns the data directory.
Can a directory shared from Mac file system ever have the read/write permissions that postgres apparently needs?
Metadata
Metadata
Assignees
Labels
No labels