3 ms·
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)? The
by chdsbd 9y ago
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 https://github.com/docker-library/postgres/issues/37
- tinco 9y agoI can't remember if we ever did this, but the solution seems straightforward, just start an upgrade container that has both versions. We definitely did not use the container that's in the locker library though. Ours did some custom checks on startup.