docker / for-mac

Bug reports for Docker Desktop for Mac
https://www.docker.com/products/docker#/mac
2.44k stars 119 forks source link

Docker is not running on MBP'16 M3 Max #7072

Open nakiner opened 1 year ago

nakiner commented 1 year ago

Description

Hello! Recently arrived new computer for work, however i was unable to run Docker Desktop on latest macOS Sonoma (14.1.1) with M3 Max chip

Reproduce

Download docker installer from website Copy package to applications directory OK for Rosetta installtion Re-run docker app, error appears "Setting up backend: checking compatibility: required compatibility check: Incompatable CPU detected"

Expected behavior

No response

docker version

according to webiste package states i have version 4.25.0

docker info

docker from terminal unavaliable

Diagnostics ID

0

Additional Info

Docker backend was not installed, therefore i cannot provide diagnostics ID / either run diag check.

[2023-11-11T13:21:21.190173000Z][com.docker.diagnose.ipc][I] ipc.NewClient: bc626ae0-diagnose -> /Library/Containers/com.docker.docker/Data/backend.sock BackendAPI [2023-11-11T13:21:21.191106000Z][com.docker.diagnose.ipc][I] (a6b4b8f3) bc626ae0-diagnose C->S BackendAPI POST /idle/make-busy [2023-11-11T13:21:21.192376000Z][com.docker.diagnose.ipc][W] (a6b4b8f3) bc626ae0-diagnose C<-S NoResponse POST /idle/make-busy (1.26825ms): Post "http://ipc/idle/make-busy": dial unix /Library/Containers/com.docker.docker/Data/backend.sock: connect: no such file or directory [2023-11-11T13:21:22.192214000Z][com.docker.diagnose.ipc][I] (be46f995) bc626ae0-diagnose C->S BackendAPI GET /idle

rnsc commented 1 year ago

Having the exact same issue on a brand new M3 and a fresh Docker Desktop install.

codewizard-dt commented 1 year ago

Hmm yes having the same exact issue. Our new hire is using an M3 chip MacBook Pro and is getting "incompatible CPU"

mccarthydanielle commented 1 year ago

I ran into the same issue, installing Docker Desktop v 4.24 worked https://github.com/docker/for-mac/issues/7090#issuecomment-1828056656

rnsc commented 1 year ago

This is the link to the Silicon version of 4.24.2 https://desktop.docker.com/mac/main/arm64/124339/Docker.dmg

Princetimber commented 12 months ago

unable to run Docker on Mac M2 Pro. I have tried all including using brew to install and unable to start the docker daemon

nakiner commented 12 months ago

i was able to install Docker with brew, it ran install scripts, later i removed Docker using brew, and was able to install pkg form website, it seems like it run successfully. Seems like install script in pkg is not working, so have to perform installation with brew, remove, then website install.

Princetimber commented 12 months ago

i was able to install Docker with brew, it ran install scripts, later i removed Docker using brew, and was able to install pkg form website, it seems like it run successfully. Seems like install script in pkg is not working, so have to perform installation with brew, remove, then website install.

I have followed all of these steps and there seem to be an issue with the docker daemon not being enabled. I tried starting this daemon but it failed to start.

nakiner commented 12 months ago

could you plese perform docker purge, try installing with brew --cask after this it should be all set to run, if succeed, you may want to remove it and try desktop app. this worked for me for clean Sonoma on m3 max with only installed brew.

Princetimber commented 12 months ago

image Greenshot 2023-12-04 10 28 24

Princetimber commented 12 months ago

could you plese perform docker purge, try installing with brew --cask after this it should be all set to run, if succeed, you may want to remove it and try desktop app. this worked for me for clean Sonoma on m3 max with only installed brew.

![Uploading Greenshot 2023-12-04 10.28.24.png…]()

nakiner commented 12 months ago

ok, it seems like there im unable to help. hopefully they fix it. did you try older installer ?

Princetimber commented 12 months ago

ok, it seems like there im unable to help. hopefully they fix it. did you try older installer ?

Yes i did try older installer

Princetimber commented 12 months ago

Greenshot 2023-12-04 10 42 43 how do i resolve this issue

nakiner commented 12 months ago

you might want to navigate to Docker.app and run docker daemon manually, but i think it will not start and you have to wait until issue resolved or try installing different docker from unix-like packages, perhaps there alternative present. you can also try to cleanup all docker files and try reinstalling different packages

Princetimber commented 12 months ago

I finally got it working. Thanks for all your assistance. Honestly didn't do any thing other than try to start the app manually and pops the desktop

ardeay commented 11 months ago

I migrated an intel mac to a m3 max using a time machine backup with the same issue. The 4.24.2 install did not work for me right away. Here are the steps that worked more me:

  1. Delete docker from your applications folder
  2. Update XCode from app store (this takes some time)
  3. Terminal: softwareupdate --install-rosetta
  4. Terminal: brew update --auto-update (assuming you had brew)
  5. Download: https://desktop.docker.com/mac/main/arm64/124339/Docker.dmg
  6. Open and install that package normally
  7. Open application folder, open docker
  8. I updated to 4.25.2 from inside the Docker client then upgraded brew for M chips
igorabrandao commented 11 months ago

@ardeay it worked with the additional steps from this post: https://mattsimpson.ca/2022/12/27/docker-desktop-for-mac-wont-start/

ColinRhys commented 10 months ago

I also migrated from Mac Intel i9 to M3 Max using Time Machine Backup. A combination of @igorabrandao to get rid of everything docker-related and then @ardeay to install Docker worked perfectly.

Thank you both!

Youjin1985 commented 8 months ago

4.28.0 works for me on M3 ( I did softwareupdate --install-rosetta and brew update --auto-update before install)