Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Docker doesn't start after 4.29 upgrade without installing Rosetta #7243

Open
xeron opened this issue Apr 9, 2024 · 24 comments
Open

Docker doesn't start after 4.29 upgrade without installing Rosetta #7243

xeron opened this issue Apr 9, 2024 · 24 comments

Comments

@xeron
Copy link

xeron commented Apr 9, 2024

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.

@shinyzhu
Copy link

shinyzhu commented Apr 9, 2024

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.

@98549844
Copy link

98549844 commented Apr 9, 2024

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 ?

@amxfonseca
Copy link

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

image

@shinyzhu
Copy link

shinyzhu commented Apr 9, 2024

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.

@98549844
Copy link

98549844 commented Apr 9, 2024

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

@booleanbetrayal
Copy link

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.

@MihaelaStoica
Copy link

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

@MihaelaStoica
Copy link

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.

@mattpavelle
Copy link

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

@shinyzhu
Copy link

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

@jfernandezr
Copy link

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!

@MihaelaStoica
Copy link

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.

@k0ste
Copy link

k0ste commented Apr 11, 2024

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

@JDanielGutierrez05
Copy link

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.

@cperezabo
Copy link

ETA for the stable release?

@jac18281828
Copy link

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

@pro-nsk
Copy link

pro-nsk commented Apr 16, 2024

Same issue for me.
Test build works, thanks

@maikdiepenbroek
Copy link

Test build works :) thanks!

@zhiminL712
Copy link

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

@stevetoro
Copy link

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 #6898. Thank you!

@juanjoseluisgarcia
Copy link

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!

@junior
Copy link

junior commented Apr 24, 2024

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.

@jamesgreenblue
Copy link

Test build worked perfectly 😅

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

@MihaelaStoica
Copy link

@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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests