I linked my app container to postgres on run:
run
docker run --link postgres:postgres someproject/develop
and it worked fine.
You can not do this. You could either build a child image of postgres, or update the database every time you start the container.