I have postgres running inside a docker container exposed on port 5432.
ContainerID postgres:latest "docker-entrypoint.s…" 32 minutes ago Up 32 minutes 0.0.0.0:5432->5432/tcp, :::5432->5432/tcp postgres
I have no dump scripts installed on my local that I would like to install. Normally on local, if I have postgres installed locally I simply run the following command.
perl install.pl FULL SCHEMA_NAME 127.0.0.1 5432 postgres password
But now I have postgres running in a container in docker so if I try running the same command I get an error saying
'psql' is not recognized as an internal or external command, operable program or batch file.
I do not have postgres installed on local. I am also on windows. How can execute the script?