Skip to content

Instantly share code, notes, and snippets.

@KunalSin9h
Last active March 10, 2023 19:11
Show Gist options
  • Save KunalSin9h/d71d2e9c6fd2f564cd6f66ec413a6c27 to your computer and use it in GitHub Desktop.
Save KunalSin9h/d71d2e9c6fd2f564cd6f66ec413a6c27 to your computer and use it in GitHub Desktop.

Postgres Bind mount permissio denied

 sudo chown -R 1000:1000 ./data 
@KunalSin9h
Copy link
Author

connect to postgres surver with psql using username and password set when running the docker container.

docker exec -it pg psql -U username -W 

This -W prompt password for username and then we will be connected

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment