You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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?