How did you handle upgrading between major Postgres versions with Docker when the container only has one version (you need both for major version updates)?
There is an issue about this (from 2014), but it has yet to be resolved: https://github.com/docker-library/postgres/issues/37