您是否仍然在每次重建的日志中看到此内容?如果是这样,我怀疑您在此处以某种方式查看了(因此手动重命名了)错误的目录:
如果容器的 /shared 卷映射到主机上的 /mnt/volume_tor1_01/shared/standalone,那么 cat /mnt/volume_tor1_01/shared/standalone/postgres_data/PG_VERSION 应该返回 13 而不是 15。
您能否分享您已清理的 app.yml 文件?
您是否仍然在每次重建的日志中看到此内容?如果是这样,我怀疑您在此处以某种方式查看了(因此手动重命名了)错误的目录:
如果容器的 /shared 卷映射到主机上的 /mnt/volume_tor1_01/shared/standalone,那么 cat /mnt/volume_tor1_01/shared/standalone/postgres_data/PG_VERSION 应该返回 13 而不是 15。
您能否分享您已清理的 app.yml 文件?