You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Docker Desktop 4.23.0 causes m1 to crash with Kernel Panic #6975
I tried to install docker desktop version 4.23.0 and whenever I tried to launch it, it would crash before it even got to open. This is a snippet of the error log:
panic(cpu 7 caller 0xfffffe0025869814): vm_fault() KERN_FAILURE from guest fault on state 0xfffffe6019008000 @sleh.c:3117
Debugger message: panic
Memory ID: 0x6
OS release type: User
OS version: 21E230
I reinstalled a few times and the same thing happened each time.
I installed 4.12.0 which worked just fine.
Reproduce
download + open docker application
Expected behavior
computer doesn't crash and the app opens
docker version
4.23.0
docker info
never even got to install so it didn't work
Diagnostics ID
x
Additional Info
No response
Reacted by Babatunde Adeyemi, Tenzin Wangdhen, Ramiro Pugh, William Muir, Shunsuke Sasaki, Evandro Fruhauf, Joni R, CxyFreedom, Rafael Xavier de Souza, Jille Timmermans and 8 more
Thanks for the report. If the Mac kernel crashes, it's a bug in macOS rather than Docker since we have no kernel extensions. Could you update to the most recent version of macOS to see if it works better?
Thanks for the report. If the Mac kernel crashes, it's a bug in macOS rather than Docker since we have no kernel extensions. Could you update to the most recent version of macOS to see if it works better?
Then why does 4.22.1 work fine?
Reacted by Steven Lewis, Adam Norton, amine-aboura-qatalog, Christopher Candell, dkleriga, Antonio Castiglione, slowriot, Maxim Manuylov, Tahmina Khatoon, Rahul Agarwal and 1 more
I presume this is a truncation of qemu-system-aarch64, which is running under 4.22.1 without causing the same crash. The QEMU bundled with docker jumped from 5.2.0 to 8.0.2 in 4.23.0, so the incompatibility may stem from there.
I'm currently on Monterey 12.1, will be retesting on the 12.6.9 shortly.
I sent at least one bug report to Apple about this, though the transparency of that process isn't what it might be. I agree that it's technically the kernel at fault when userspace programs crash it, but that's cold comfort.
Notably qemu-system-aarch64 is not running in this case, prior to the OS upgrade it was running before any containers were started. Now it's not running even when an amd64 container is running.
Why is this marked as closed? I'm having the same issue with M1 Macbook Pro and cannot figure out how to downgrade to v4.22.1 so now cannot use Docker at all.
@paulyoung thank you for the response on this. I eventually found the same link and can confirm that 4.22.1 is stable for me with the M1 chip. The link to download this is no longer on the official release notes page though, so it's good that this is now on the thread.
I still don't understand why this issue is marked as 'Closed' though. It seems unresolved to me and it would be nice to receive an update from docker, once it is deemed 'safe to upgrade' for Apple M chip users.
Installed the same above-mentioned 4.22.1 version of docker
when you open it for the first time, go to the settings and turn off auto update under software updates inside the docker daemon. This stops docker from even checking for a newer version.
And it's working perfectly fine for me so far. (it's been 3+ weeks since I had the same issue)
Activity
lorenrh commentedon Sep 13, 2023
Hello there!
Can you please give us a diagnostics following the troubleshoot guide?
If it's not possible from the UI, you also get the diagnostics from the terminal, see Diagnose from the terminal.
mattlaw commentedon Sep 13, 2023
I've had exactly the same issue. Can't run the application without crashing the OS but ran the diagnostics
Diagnostics ID: 5EA71E28-1C76-4839-A0D9-39E0B5DB715A/20230913100639 (uploaded)
D10100111001 commentedon Sep 13, 2023
Same issue. 4.22.1 works fine.
JackZhengSit commentedon Sep 14, 2023
the same.
Diagnostics ID:1B0E2D3F-238A-4DEC-AA6E-042262F979D1/20230914011755
gigifang925 commentedon Sep 14, 2023
Same here. 4.23.0 makes Mac with M1 chip crash and restart.
Diagnostics ID: B726758F-D473-4975-AEDA-3CC5697DFD72/20230914015338
djs55 commentedon Sep 14, 2023
Thanks for the report. If the Mac kernel crashes, it's a bug in macOS rather than Docker since we have no kernel extensions. Could you update to the most recent version of macOS to see if it works better?
D10100111001 commentedon Sep 14, 2023
Then why does 4.22.1 work fine?
mattlaw commentedon Sep 15, 2023
The trace for the panic on 4.23.0 includes this line:
I presume this is a truncation of
qemu-system-aarch64, which is running under 4.22.1 without causing the same crash. The QEMU bundled with docker jumped from 5.2.0 to 8.0.2 in 4.23.0, so the incompatibility may stem from there.I'm currently on Monterey 12.1, will be retesting on the 12.6.9 shortly.
I sent at least one bug report to Apple about this, though the transparency of that process isn't what it might be. I agree that it's technically the kernel at fault when userspace programs crash it, but that's cold comfort.
mattlaw commentedon Sep 15, 2023
Works for me on Monterey 12.6.9
Notably
qemu-system-aarch64is not running in this case, prior to the OS upgrade it was running before any containers were started. Now it's not running even when an amd64 container is running.32 remaining items
svscorp commentedon Oct 22, 2023
Tried 4.24.2 (for Ventura 13.6, on M2) - issue persists. Docker won't start (in Activity monitor it appears for a second and disappears).
Tried to create diagnostic ID, but process just getting kills.
UPD: Looks like my MDM software is blocking it. Checking...
dbickson commentedon Dec 31, 2023
Same with 4.26.1 and mac 12.2.1:
Downgrading to 4.22.1 solved it
bay1188 commentedon Jan 7, 2024
Thanks 4221 worked for me.
paulyoung commentedon Feb 6, 2024
I just encountered this issue with
4.21.14.27.1 running macOS Monterey 12.2.1I downloaded 4.22.1 from https://docs.docker.com/desktop/release-notes and that also worked for me.
niranjanakella commentedon Feb 15, 2024
This worked for me I am on MacOS Monterey 12.3 M1 Pro
ishulgin commentedon Mar 4, 2024
Had the same problem with every version in range 4.27.0 - 4.28.0 (M3 Max, OS 14.3.1), 4.22.1 works fine.
darwinsoftware commentedon Apr 11, 2024
Why is this marked as closed? I'm having the same issue with M1 Macbook Pro and cannot figure out how to downgrade to v4.22.1 so now cannot use Docker at all.
paulyoung commentedon Apr 11, 2024
@darwinsoftware the 4.22.1 download at https://desktop.docker.com/mac/main/arm64/118664/Docker.dmg worked for me on my M1 Mac.
darwinsoftware commentedon Apr 11, 2024
@paulyoung thank you for the response on this. I eventually found the same link and can confirm that 4.22.1 is stable for me with the M1 chip. The link to download this is no longer on the official release notes page though, so it's good that this is now on the thread.
I still don't understand why this issue is marked as 'Closed' though. It seems unresolved to me and it would be nice to receive an update from docker, once it is deemed 'safe to upgrade' for Apple M chip users.
niranjanakella commentedon Apr 11, 2024
Hey @darwinsoftware the way I solved this is,
And it's working perfectly fine for me so far. (it's been 3+ weeks since I had the same issue)
salma-wafa commentedon May 21, 2024
The latest version of Docker is working on my M1, I just needed to update my MacOS from Moterey to Sonoma
gbersac commentedon Sep 12, 2024
Same here MacBook Pro (16-inch, 2021) - Mac Os Monterey version 12.0 - this is a mac book with apple silicon gpu, not intel gpu
When I start docker desktop, the computer juste shut down and I have to restart it.
Note that I had no issue with docker desktop version 4.9.1 https://docs.docker.com/desktop/release-notes/#491
nikkijhart commentedon Sep 27, 2024
4.34.2 on my M1 Mac running Sonoma works for me. I was having the same issue prior to updating to Sonoma.
paulyoung commentedon Oct 1, 2024
Still an issue with 4.32.2 on macOS Monterey (Version 12.3)