Docker containers stop to running on my Macbook pro M4 pro

Yesterday all my docker containers with spring boot app worked perfectly fine when I started them using docker compose, but today I see that no one from my containers can start on my machine. I used arm64v8/eclipse-temurin:21-jre-alpine this base image in my spring boot app Dockerfiles. Java version eclipse temurin 21.0.6 and Docker desktop version - 4.38.0 (181591).

That what I see when try to start my docker container:

2025-01-31 16:57:28 #
2025-01-31 16:57:28 # A fatal error has been detected by the Java Runtime Environment:
2025-01-31 16:57:28 #
2025-01-31 16:57:28 #  SIGILL (0x4) at pc=0x0000ffff70d3fc5c, pid=1, tid=7
2025-01-31 16:57:28 #
2025-01-31 16:57:28 # JRE version:  (21.0.6+7) (build )
2025-01-31 16:57:28 # Java VM: OpenJDK 64-Bit Server VM (21.0.6+7-LTS, mixed mode, sharing, tiered, compressed oops, compressed class ptrs, g1 gc, linux-aarch64)
2025-01-31 16:57:28 # Problematic frame:
2025-01-31 16:57:28 # j  java.lang.System.registerNatives()V+0 java.base@21.0.6
2025-01-31 16:57:28 #
2025-01-31 16:57:28 # No core dump will be written. Core dumps have been disabled. To enable core dumping, try "ulimit -c unlimited" before starting Java again
2025-01-31 16:57:28 #
2025-01-31 16:57:28 # An error report file with more information is saved as:
2025-01-31 16:57:28 # /tmp/hs_err_pid1.log
2025-01-31 16:57:28 [0.038s][warning][os] Loading hsdis library failed
2025-01-31 16:57:28 #
2025-01-31 16:57:28 # The crash happened outside the Java Virtual Machine in native code.
2025-01-31 16:57:28 # See problematic frame for where to report the bug.
2025-01-31 16:57:28 #

What happened? Yesterday everything was fine and now not. There is some pushes in this tag for a couple of hours ago. Can it be bug in base image or what?

Of course it could be a bug in the base image, if you pull and rebuild automatically every time.

You can check if you still have older built images on the host and try to run those.

We discussed a similar error here:

I’m not sure if it is the same, but could be since it is also about MacBook M4.

This topic was automatically closed 10 days after the last reply. New replies are no longer allowed.