admin管理员组

文章数量:1024091

Not sure whether this is the right platform for this. It is on the boundary between programming and DevOps.

I have an application that consists of 2 containers: a database container with the postgres image and web server container with the node image. Now, the database container runs the latest postgres version, which is postgres 17, but the node container is based on debian bookworm, where the latest postgres package has version 15. I try to make backups with pg_dump from the node container, but this currently gives a version mismatch.

Would it be wise to downgrade my postgres server, or somehow install a newer version of postgres in the node container? Or is there an entirely different fix altogether?

Not sure whether this is the right platform for this. It is on the boundary between programming and DevOps.

I have an application that consists of 2 containers: a database container with the postgres image and web server container with the node image. Now, the database container runs the latest postgres version, which is postgres 17, but the node container is based on debian bookworm, where the latest postgres package has version 15. I try to make backups with pg_dump from the node container, but this currently gives a version mismatch.

Would it be wise to downgrade my postgres server, or somehow install a newer version of postgres in the node container? Or is there an entirely different fix altogether?

本文标签: postgresqlMismatch between postgres versions in docker (postgres and node images)Stack Overflow