-
Notifications
You must be signed in to change notification settings - Fork 1.2k
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
Docker image for Postgres 14 based on BookWarm is broken somehow #1100
Comments
have the same issue |
I am unable to reproduce. I'd suggest updating docker and libseccomp on the host. Newer base OS's use newer system calls and an older libseccomp can block them since they are unknown to it. You can verify that it is libseccomp by running the bookworm image with This is similar to the update to Ubuntu focal: docker-library/mongo#606 (comment) Same as docker-library/python#837 (comment) Related: #1099 |
It also breaks all our services when booting |
Confirmed with @Chaoste , I am trying to build AMD64 version of postgres:13. I tested with 13+ and bullseye/bookworm. Does not like the update command. I also updated my Docker for Desktop on my Mac to see if that fixed things, but it did not. |
Also running into this issue on ubuntu 18, docker 23.05-1. Dmesg says:
so it's bash that's segfaulting before the process even hits postgres |
(basically the same comment as redis/docker-library-redis#365 (comment) and docker-library/python#837 (comment)) Root cause: it is very likely Docker with
|
I was referred from #1015 to this issue regarding an error involving around "pg_stat_tmp/global.stat": Permission Denied" error. Is anyone having this issue? I've changed permissions multiple times for the file but it doesn't work unless I manually restart postgres14 then it works temporarily. |
* Add management command to list users email. * Accept email values in command line, send email. * Workaround docker incompatibility issue with postgres:latest See docker-library/postgres#1100
Regarding the fix proposed above by @yosifkit,
Are there any specific versions to which both |
Maybe docker-library/official-images#16829 is helpful? At the very least, one of Docker 26.0.0, 25.0.3, 24.0.10, and 23.0.10, and likely libseccomp2 version 2.5.5+ (or the recently-Debian-backported 2.5.4-1+deb12u1; docker-library/official-images#16830 (comment)). |
Updated docker image with tag
postgres:14
is brokenSteps to reproduce:
docker build
command:Workaround:
Replace
FROM postgres:14
withFROM postgres:14-bullseye
(not possible to fix in my upstream repo, so I have to use
sed
in the build pipeline to do the fix on-the-fly)The text was updated successfully, but these errors were encountered: