Docker Community Forums

Share and learn in the Docker community.

Restore Postgres database from backup

(Davidpdrsn) #1

I’m having trouble restoring a postgres database running inside docker-machine on OS X. I can’t figure out how to connect to the database.

I’ve posted my question on stackoverflow but no one has been able to help me yet.

How to use PostgreSQL 9.3 with Docker
(Terric) #2

Did you ever get this working? I am trying to restore a database from a dump and I can’t find anything in the documentation or online forums that explains how to do this. I don’t want to load it at start up, I want to restore it once the container is up already.