GitHub repository: AlexRogalskiy/docker-postgres-upgrade
Description: a PoC for using "pg_upgrade" inside Docker -- learn from it, adapt it for your needs; don't expect it to work as-is!