-
Notifications
You must be signed in to change notification settings - Fork 1.2k
issues with replaced docker tags #784
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
Comments
There are more specific tags that you can use to get an exact version
$ docker run -d --rm --name postgres -e POSTGRES_PASSWORD=pass postgres:13-rc1
812900e87aed559520a9f76fc9b30c3914a3f565de225ff1ff110ed6d1ee57f0
$ docker exec postgres cat /usr/share/postgresql/13/catalog_version
202007201 |
See also https://www.postgresql.org/developer/beta/ for information from the PostgreSQL community regarding the use of beta/pre-release versions, especially:
So this is unfortunately "by design" in the PostgreSQL world. |
Also, same as #662 which was about pre-release 12 (and 13: #662 (comment)) |
I hit the same problem today. Looking at the images here : https://hub.docker.com/_/postgres/?tab=tags&page=1&name=13 for linux/amd64 postgres:13 postgres:13.1 Or am I confused? Should I use this image: Actually the one i needed is
|
@0xfff in my case, i ended up finding the sha of the version i had used before and updated my docker-compose file to use it, for example:
|
I've filed #797 to help alleviate this in the future. |
while migrating from one host to another i found that postgres stopped working. while starting up the same "version" i got the following error:
it appears that the image: postgres:13 and postgres:13.0 is misleading and gets updated frequently and each update will break existing databases and will need to somehow get the last version of the database software running to do a pg_dump on but i'm not sure as i thought i was running 13.0.
i can see that
latest
may change frequently but tags with versions on them are expected to run a known version. i think it matters more when the software can't automatically migrate between minor version updates.The text was updated successfully, but these errors were encountered: