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
版权声明:本文标题:postgresql - Mismatch between postgres versions in docker (postgres and node images) - Stack Overflow 内容由热心网友自发贡献,该文观点仅代表作者本人, 转载请联系作者并注明出处:http://it.en369.cn/questions/1745517856a2154161.html, 本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌抄袭侵权/违法违规的内容,一经查实,本站将立刻删除。
发表评论