r/docker • • 13d ago

Docker Asks me to Install Rosetta?

Hi, so the title is self explanatory, I'm new to Mac OS, i'm using Mac air m5, and when i installed docker, it pushed me to download rosetta 2, which i think is older version of mac os and current one is tahoe, when i researched about it. it says support for rosetta will end in 2027...

what shall i do? is it recommended to install rosetta? or shall i just use homebrew to install cli version of docker?

0 Upvotes

16 comments sorted by

3

u/cpuguy83 13d ago

Rosetta is used to emulate amd64 instructions on M-series Macs (which are arm64). It is not an old version of macOS.

The reason Docker wants it is many images are amd64 only so Rosetta is used to make that work. The alternative is it uses qemu which doesn't perform as well.

1

u/ymgymg 13d ago

You can skip it on an M-series Mac. Rosetta only matters if you run amd64 images, since arm64 ones run natively.

2

u/cpuguy83 13d ago

The only reason to have it is on M-series...

-1

u/A-arora 13d ago

But its like necessary type thing i guess. i'm on macos Tahoe 26.6. kindly guide me

0

u/encbladexp 13d ago

Docker tries to use Rosetta 2 to emulate e.g. amd64 containers. You should update to Golden Gate anyways, where Rosetta 2 is no longer available.

4

u/dcvetkovic 13d ago

Golden Gate still supports Rosetta. It's Macos 28 that won't support it.

1

u/A-arora 13d ago

so guide me sensei, what shall i do?

3

u/dcvetkovic 13d ago

Install Rosetta and move on. Same as on previous versions. You can also look into virtualization options that Docker Desktop provides on Macos and experiment which one works best for you.

1

u/encbladexp 13d ago

You are right, but the Support on 27 is already more limited, right?

2

u/dcvetkovic 13d ago

Don't think it's more or less limited, they simply announced it won't be available in 28 to presumably encourage Devs with x86 only apps to finally port to arm64.

1

u/encbladexp 13d ago

Then I mixed up 27/28 again...

-1

u/A-arora 13d ago

so, if i update to golden gate, i no longer will have to install rosetta?

3

u/Mastacheata 13d ago

Yes and no. Apple says their arm systems have been around long enough for everyone to have switched their apps by now. That includes docker containers/images that aren't built on Apple hardware. Most popular images have an automated build system and will produce Apple arm images nowadays - you might find niche images that don't, though.

-1

u/A-arora 13d ago

so thats just their overconfidence😭

2

u/Mastacheata 13d ago

Yes and no. They're not really overconfident - they know those developers that have not updated their apps yet will probably not update them now either.