Skip to content

Commit

Permalink
Add info about the new Debian images to the README
Browse files Browse the repository at this point in the history
  • Loading branch information
justinclift committed Jul 13, 2024
1 parent 71f438a commit 13da5bc
Showing 1 changed file with 17 additions and 2 deletions.
19 changes: 17 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -31,15 +31,30 @@ To always use the latest version of PostgreSQL, use the tag

pgautoupgrade/pgautoupgrade:latest

Please note that our `latest` tag is based on Alpine. The one by
Postgres is based on Debian.
Please note that our `latest` tag is based on Alpine Linux,
whereas the `latest` tag used by the official Docker
Postgres container is based on Debian.

If you instead want to run a specific version of PostgreSQL
then pick a matching tag on our Docker Hub. For example, to
use PostgreSQL 15 you can use:

pgautoupgrade/pgautoupgrade:15-alpine

### Debian vs Alpine based images

The default official Docker PostgreSQL image is Debian Linux
based, and upgrading from that to one of our Alpine Linux
based images doesn't always work out well.

To solve that problem, we have Debian based images
(`15-bookworm` and `16-bookworm`) available now as well.

To use either of those, choose the version of PostgreSQL you'd
like to upgrade to, then change your docker image to match:

pgautoupgrade/pgautoupgrade:15-bookworm

### "One shot" mode

If you just want to perform the upgrade without starting PostgreSQL
Expand Down

0 comments on commit 13da5bc

Please sign in to comment.