docker icon indicating copy to clipboard operation
docker copied to clipboard

official docker hub images don't work on apple silicon

Open tucosaurus opened this issue 3 years ago • 6 comments

I am facing all the issues that have been mentioned here https://github.com/docker/buildx/issues/595

tucosaurus avatar Jun 11 '21 11:06 tucosaurus

~~They do work but they work under Rosetta. Would be nice to have arm64 images to run them natively on M1 macs.~~

sbarlabanov avatar Jan 22 '22 18:01 sbarlabanov

Sorry, I was wrong. Somehow it works on my Mac but not on the Macs of my collegues. It fails with the following error:

2022-01-24 12:36:16.345 UTC [255] CONTEXT:  Citus maintenance daemon for database 16384 user 10
UPDATE 1
2022-01-24 12:38:31.082 UTC [255] PANIC:  stuck spinlock detected at LWLockWaitListLock, ./build/../src/backend/storage/lmgr/lwlock.c:913
2022-01-24 12:38:31.082 UTC [255] CONTEXT:  Citus maintenance daemon for database 16384 user 10
qemu: uncaught target signal 6 (Aborted) - core dumped
2022-01-24 12:38:31.096 UTC [122] LOG:  background worker "Citus Maintenance Daemon: 16384/10" (PID 255) was terminated by signal 6: Aborted
2022-01-24 12:38:31.097 UTC [122] LOG:  terminating any other active server processes
psql:/docker-entrypoint-initdb.d/001-create-citus-extension.sql:7: WARNING:  terminating connection because of crash of another server process

:(

sbarlabanov avatar Jan 24 '22 13:01 sbarlabanov

@sbarlabanov When I looked at this last time in mid 2021, citus didn't have arm64 packages I could use. Could you point me to them if they are available now?

tucosaurus avatar Jan 25 '22 02:01 tucosaurus

@tucosaurus seems that they are not - https://github.com/citusdata/citus/issues/5063

sbarlabanov avatar Jan 25 '22 16:01 sbarlabanov

@tucosaurus Latest update: Citus amd64 images seem to work under the newest MacOS Monterey (remark: after having upgraded to Monterey also had to purge all existing postgres containers and images).

sbarlabanov avatar Jan 26 '22 09:01 sbarlabanov

Update: there are still problems even with Monterey. On some machines work and on some not. So a native arm64 image would be really helpful.

sbarlabanov avatar Jan 28 '22 12:01 sbarlabanov