docker cp dump.sql postgres:/tmp/dump.sql docker exec -t postgres pg_restore -U postgres -d postgres /tmp/dump.sql