-
Run the database container only. "docker container start [container name]"
-
Connect pgAdmin to the docker container
- Check port of the container, for example: "0.0.0.0:5432->5432/tcp"
- Create a new connection on pgAdmn: "0.0.0.0:5432"
-
Remove the old database
-
Create a new database with a same name
-
Right click on new datase and restore data by using a local dump file