Upgrade to new version of Postgres in Docker
This example upgrades PostgreSQL 9.4 to 9.6
Note: you will need compatible
psql binaries in your path
(outside of docker), probably at least at the version you're migrating from.
If you don't have those on your local machine, you can use the one in the docker
container. Something like this