title: pg_restore: [custom archiver] could not read from input file: end of file
body: <p>I have a dump of my production db, which I can restore easily in my docker container with: <code>docker exec -it my_db_container pg_restore --user=my_user --dbname=dbname sql/current.dump</code>. Everything works, data are here.</p>
  
  <p>But when I re-dump my local database from the docker with <code>docker exec -it my_db_container -U my-user -F c -b dbname &gt; docker/db/current_stripped.dump</code> back to project folder, my dump file is created (with appropriate size and content) but I can not use it for restoring (<code>docker exec -it whasq-db pg_restore --user=my-user --dbname=dbname sql/current_stripped.dump</code>) it again to a fresh db due to an error: <code>pg_restore: [custom archiver] could not read from input file: end of file</code> however the restore command is the same (except the <code>my_user</code> which is postgres in production) as used in production env.</p>