Building student database Part2 error again!

Still getting error in this for day ~ lost count by now.

codeally@1826416053e8:~/project$ psql --username=freecodecamp --dbname=postgres
bash: /home/codeally/project/.freeCodeCamp/test/.next_command: Read-only file system
psql: error: connection to server on socket “/var/run/postgresql/.s.PGSQL.5432” failed: No such file or directory
Is the server running locally and accepting connections on that socket?