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

debian and alpine postgres image not interchangeable #276

Closed
SISheogorath opened this issue Apr 18, 2017 · 4 comments
Closed

debian and alpine postgres image not interchangeable #276

SISheogorath opened this issue Apr 18, 2017 · 4 comments
Labels
question Usability question, not directly related to an error with the image Request Request for image modification or feature

Comments

@SISheogorath
Copy link

Had a very interesting debugging session a few minutes ago.

Ah while back I simply replaced the "big" postgres:9.5 image with the lightweight postgres: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.

@tianon
Copy link
Member

tianon commented Apr 25, 2017

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 😄)?

@jayunit100
Copy link

Is it generally a requirement that these are , always , interchangeable ?

@tianon
Copy link
Member

tianon commented Jun 14, 2017

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).

@wglambert
Copy link

Going to close since the question is answered sufficiently, and the note in the docs mentions this as well

The main caveat to note is that it does use musl libc instead of glibc and friends, so certain software might run into issues depending on the depth of their libc requirements.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
question Usability question, not directly related to an error with the image Request Request for image modification or feature
Projects
None yet
Development

No branches or pull requests

4 participants