for-mac icon indicating copy to clipboard operation
for-mac copied to clipboard

Docker doesn't start after 4.29 upgrade without installing Rosetta

Open xeron opened this issue 1 year ago • 27 comments

Description

M2 Pro MacBook Pro.

Docker used to work just fine without installing Rosetta. Just pressing "Not now" on installation request and disabling it in Docker for Mac settings.

After 4.29.0 upgrade this doesn't work anymore. After pressing "Not now" it says Rosetta installation failed. There's "Disable rosetta" button but it doesn't do anything, it tries to install it again and fails again after pressing "Not now".

Reproduce

  1. Mac without Rosetta installed
  2. Start docker 4.29.0
  3. Press "Not now" for Rosetta install request

Expected behavior

Docker engine and Docker for Mac start and work as usual even without Rosetta.

docker version

N/A because docker fails to start

docker info

N/A because docker fails to start

Diagnostics ID

32A8EAF1-FD11-464B-A824-5EB62FB3ADB8/20240409022034

Additional Info

Downgrading to 4.28.0 fixes the issue.

xeron avatar Apr 09 '24 02:04 xeron

I have the same issue on my Mac. It's a dead loop.

I've unchecked the "Use Rosetta for x86_64/amd64 emulation on Apple Silicon" option in the General settings.

Rosetta should be optional. I don't have or want to have Intel based containers on my Mac.

shinyzhu avatar Apr 09 '24 02:04 shinyzhu

I have the same issue on my Mac. It's a dead loop.

I've unchecked the "Use Rosetta for x86_64/amd64 emulation on Apple Silicon" option in the General settings.

Rosetta should be optional. I don't have or want to have Intel based containers on my Mac.

that mean un-select this option "Use Rosetta for x86_64/amd64 emulation on Apple Silicon" version 4.29 will be resume to normal ?

98549844 avatar Apr 09 '24 10:04 98549844

Same issue here. Docker Desktop is now crashing during startup and selecting "Disable Rosetta" wont't fix it.

image

amxfonseca avatar Apr 09 '24 11:04 amxfonseca

I have the same issue on my Mac. It's a dead loop. I've unchecked the "Use Rosetta for x86_64/amd64 emulation on Apple Silicon" option in the General settings. Rosetta should be optional. I don't have or want to have Intel based containers on my Mac.

that mean un-select this option "Use Rosetta for x86_64/amd64 emulation on Apple Silicon" version 4.29 will be resume to normal ?

I've tested this on 4.28.

When I checked this option. The Docker Desktop asked install Rosetta. I clicked "Not Now" then this option became unchecked.

shinyzhu avatar Apr 09 '24 15:04 shinyzhu

I have the same issue on my Mac. It's a dead loop. I've unchecked the "Use Rosetta for x86_64/amd64 emulation on Apple Silicon" option in the General settings. Rosetta should be optional. I don't have or want to have Intel based containers on my Mac.

that mean un-select this option "Use Rosetta for x86_64/amd64 emulation on Apple Silicon" version 4.29 will be resume to normal ?

I've tested this on 4.28.

When I checked this option. The Docker Desktop asked install Rosetta. I clicked "Not Now" then this option became unchecked.

docker desktop version4.28 running normally on mac m1 , but v4.29 can't running

98549844 avatar Apr 09 '24 15:04 98549844

This issue is blocking our uptake of this release because we have explicitly forbidden Rosetta to eliminate any chance of unintended emulation / architecture drift in our engineering environments.

booleanbetrayal avatar Apr 09 '24 15:04 booleanbetrayal

Thank you for reporting and apologies for this bug! We identified the problem and we're working on a fix.

MihaelaStoica avatar Apr 09 '24 17:04 MihaelaStoica

Hey everyone, we have a test build with a fix, if you'd like to give it a try. Let us know if it fixes the issue for you.

MihaelaStoica avatar Apr 09 '24 18:04 MihaelaStoica

Hey everyone, we have a test build with a fix, if you'd like to give it a try. Let us know if it fixes the issue for you.

This fixed the problem for me. Thank you, @MihaelaStoica

mattpavelle avatar Apr 09 '24 18:04 mattpavelle

@MihaelaStoica the test build works fine on my Mac too~ Great work.

shinyzhu avatar Apr 10 '24 00:04 shinyzhu

Thanks @MihaelaStoica.

After installing this test build, would Docker update to the stable channel back again or should I install the stable version when this issue goes upstream?

Thanks!

jfernandezr avatar Apr 10 '24 07:04 jfernandezr

After installing this test build, would Docker update to the stable channel back again or should I install the stable version when this issue goes upstream?

Yes, you will be able to update to the next official release of Docker Desktop.

MihaelaStoica avatar Apr 10 '24 08:04 MihaelaStoica

Hey everyone, we have a test build with a fix, if you'd like to give it a try. Let us know if it fixes the issue for you.

Works for me, thanks

k0ste avatar Apr 11 '24 08:04 k0ste

Hey everyone, we have a test build with a fix, if you'd like to give it a try. Let us know if it fixes the issue for you.

I have the same issue after updating, but i just reinstall the 4.28, and now install this test build and works like a charm without using rosetta.

JDanielGutierrez05 avatar Apr 11 '24 15:04 JDanielGutierrez05

ETA for the stable release?

cperezabo avatar Apr 11 '24 17:04 cperezabo

Same issue here. Docker should not be enforcing dependencies that are not required. Docker is synonymous dependency management?

jac18281828 avatar Apr 13 '24 17:04 jac18281828

Same issue for me. Test build works, thanks

pro-nsk avatar Apr 16 '24 16:04 pro-nsk

Test build works :) thanks!

maikdiepenbroek avatar Apr 17 '24 19:04 maikdiepenbroek

可以给一个windows的测试版本吗?

zhiminL712 avatar Apr 19 '24 14:04 zhiminL712

Hey everyone, we have a test build with a fix, if you'd like to give it a try. Let us know if it fixes the issue for you.

Test build resolved the issue for me, same as everybody else, but it also got rid of that pesky "Configuration changed by another application" warning mentioned in https://github.com/docker/for-mac/issues/6898. Thank you!

stevetoro avatar Apr 21 '24 04:04 stevetoro

This issue is blocking our uptake of this release because we have explicitly forbidden Rosetta to eliminate any chance of unintended emulation / architecture drift in our engineering environments.

Same here!

juanjoseluisgarcia avatar Apr 22 '24 14:04 juanjoseluisgarcia

If in the future Docker need to have Rosetta for some reason, a clear message should be passed, and it's a major change. Was unexpected in a minor update.

BTW, both, installing the v4.28 and the test build both works for now. The only annoying issue with this is the Docker Desktop offering you to restart/update all the time and the ⓘ icon on the App bar.

junior avatar Apr 24 '24 16:04 junior

Test build worked perfectly 😅

@MihaelaStoica Can you confirm when it will be safe to update to a stable version?

jamesgreenblue avatar Apr 25 '24 11:04 jamesgreenblue

@MihaelaStoica Can you confirm when it will be safe to update to a stable version?

The fix will be included in the next release of Docker Desktop, which is currently scheduled for the first week of May

MihaelaStoica avatar Apr 25 '24 11:04 MihaelaStoica

Same issue here too. Had to install the test build. Waiting for stable release.

sumitsahoo avatar May 02 '24 12:05 sumitsahoo

Same issue here too. Had to install the test build. Waiting for stable release.

FYI about a week or two ago the stable release included this fix. I'm back on the main release branch and all is good.

mattpavelle avatar May 05 '24 14:05 mattpavelle

@mattpavelle you mean they hotfixed it?

cperezabo avatar May 05 '24 16:05 cperezabo

hi, this bug fix as the way:

my device is Mac book pro (m3)

  1. open safari, select the rosetta open,
  2. the will install the rosetta
  3. install it
  4. after installed, you can open the docker:)

agentwyz avatar May 06 '24 04:05 agentwyz

Would be nice if the app doesn’t prompt at all for installation of Rosetta upon start if I have disabled using Rosetta in the settings.

carhartl avatar May 06 '24 05:05 carhartl

hi, this bug fix as the way:

my device is Mac book pro (m3)

  1. open safari, select the rosetta open,
  2. the will install the rosetta
  3. install it
  4. after installed, you can open the docker:)

The whole point was to use Docker without Rosetta. And the update is still not out yet.

sumitsahoo avatar May 06 '24 05:05 sumitsahoo