sqlalchemy.exc.OperationalError

Symptom

I encountered this error while trying to run commands on Postgres running in a Docker container:

sqlalchemy.exc.OperationalError: (psycopg2.OperationalError) FATAL:  could not write init file

Solution

Ensure Docker has enough disk space, see Docker Quick Reference.