restore postgres database from dump in docker code example
Example: docker postgresql restore database
cat your_dump.sql | docker exec -i your-db-container psql -U postgres
cat your_dump.sql | docker exec -i your-db-container psql -U postgres