Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

PostgreSQL 17: Best way to update docker container postgresql #2510

Closed
SimonBard opened this issue Dec 2, 2024 · 1 comment
Closed

PostgreSQL 17: Best way to update docker container postgresql #2510

SimonBard opened this issue Dec 2, 2024 · 1 comment

Comments

@SimonBard
Copy link

My docker container does not start since the update to Postgresql 17. Container was automatically updated by watchtower.
What is the best way to update the database?

One way I imagine is to start a container with older version on another port and from within the container, do
pg_dumpall -p 5432 | psql -d postgres -p 5433

I have no clue if this works or not, but could not find anything in the docu.

@tianon
Copy link
Member

tianon commented Dec 2, 2024

Closing in favor of docker-library/postgres#1293

@tianon tianon closed this as completed Dec 2, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants