-
Notifications
You must be signed in to change notification settings - Fork 1.1k
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
debian and alpine postgres image not interchangeable #276
Comments
This sounds similar to #273 😞 I wonder if musl is doing something odd? Can it be reproduced with the Alpine package (if it can be, we'll have to punt to upstream, but otherwise we can look at what they're doing that we aren't 😄)? |
Is it generally a requirement that these are , always , interchangeable ? |
That's something we strive to accomplish, but it isn't always possible, so no, it's not generally a requirement. I would recommend any user who's looking to switch from a Debian variant to an Alpine variant of an image carefully review the two images and the differences between them. Often times the Alpine image is less-featured out-of-the-box as a core feature, since that allows for a much smaller base image (and tighter control on exactly what gets included). |
Going to close since the question is answered sufficiently, and the note in the docs mentions this as well
|
Had a very interesting debugging session a few minutes ago.
Ah while back I simply replaced the "big"
postgres:9.5
image with the lightweightpostgres:9.5-alpine
image and at first everything looked fine. Until it came to some selects which suddenly stop working.Which tells me that there is some kind of difference in the default configuration between the normal and the alpine version. Maybe that's normal but actually I didn't expect that as everything else worked fine. (no warning on startup and in general everything seemed fine).
I filed all details of my issue hunt at hackmdio/codimd#430 (comment)
And it took me some time to figure it out. So I hope it's helpful to hunt down the real issue that is located underneath the whole thing. For me the switch back fixed it for now but it would be nice to fix it in general in future.
The text was updated successfully, but these errors were encountered: