zsh: command not found: pg_restore docker 1

zsh: command not found: pg_restore docker

docker exec -it  pg_restore  > .sql

Here is what the above code is Doing:
1. Create a container named from the postgres image.
2. Set the password for the postgres user to .
3. Set the POSTGRES_DB environment variable to
4. Map the container’s internal 5432 port to the host’s 5432 port.
5. Run the pg_restore command to restore the database from the file.
6. Output the results to the .sql file.

Similar Posts