All commands below use podman as default containers management tool. If you prefer docker, add DOCKER=docker option to all commands listed below.
Version of postgres data located in path to postgres data directory must match POSTGRES_OLD_VERSION. Data in this directory will not be modified. db/data_migrated_${POSTGRES_NEW_VERSION} will be created where migrated database will be stored.