Repository navigation
Closed
Labels
docker_desktopImprovements or additions to Docker Desktop
Description
Tell us about your request
Provide support for Docker Desktop for Apple computers running on Apple custom silicon.
Which service(s) is this request for?
Docker Desktop for Mac
Tell us about the problem you're trying to solve. What are you trying to do, and why is it hard?
Mac will be moving to a new CPU architecture where Docker Desktop will no longer run, this ticket is to release Docker Desktop on the new architecture
Are you currently working around the issue?
Using a self hosted VMs on new Macs to run Docker
Additional context
https://www.apple.com/uk/newsroom/2020/06/apple-announces-mac-transition-to-apple-silicon/
Reacted by Dave Henderson, Ilya Dmitrichenko, Adam, Dan Hubahib, Johannes Würbach, Marcus, Melody, Soheil Alizadeh, Michael Aderskog, Aidan Ewen and 1991 more
Reacted by Alex, Dmitriy Paramoshkin, Jeff and Alexander Ames
Reacted by ¸.·´¯`·.´¯`·.¸¸.·´¯`·.¸, Ruslan Butov, Masahiko Sakakibara, Kenji Saito, axotion, Nozomi Morimoto, Shohei Ueda, Reo YAMADA, satackey, Grzegorz Piwowarek and 63 more
Reacted by Pablo Cariel, axotion, Nozomi Morimoto, Shohei Ueda, Reo YAMADA, satackey, Grzegorz Piwowarek, Hiroto Nakanoya, Teera Laiteerapong, hajimemath and 100 more
Reacted by Hardik, Atti, Jordan Daubinet and DegenOptionCaptain
Reacted by Oleg Burov, jamshid, Dave Henderson, Felipe Costa, Adam, Marcus, Soheil Alizadeh, Michael Aderskog, Nicolas Assing, Brandon Jackson and 238 more
Reacted by Pablo Cariel, axotion, Jeon Suyeol, Nozomi Morimoto, Shohei Ueda, Reo YAMADA, satackey, Hiroto Nakanoya, Teera Laiteerapong, nebojsa and 121 more
Reacted by Pablo Cariel, Lyle Davis, ¸.·´¯`·.´¯`·.¸¸.·´¯`·.¸, Lucas Reiners, Ivan Soshin, Michael Spilger, axotion, Nozomi Morimoto, Shohei Ueda, Reo YAMADA and 124 more
Metadata
Metadata
Assignees
Labels
docker_desktopImprovements or additions to Docker Desktop
Type
Projects
- StatusShow more project fieldsShipped! Enjoy!
Activity
chris-crone commentedon Nov 25, 2020
Work on
docker-composecan be tracked here: docker/compose#7945thaJeztah commentedon Nov 27, 2020
Progress on getting Docker Desktop running on Apple Silicon (M1). Lots (lots!) of duct-tape still, but this screenshot should make many people happy: (I can't take any credits for this, so give Dave's tweet a like ❤️ https://twitter.com/mugofsoup/status/1332382741892124675?s=20)
servusrene commentedon Nov 27, 2020
@thaJeztah is there a download of that version to download and test?
thaJeztah commentedon Nov 27, 2020
@rene-mueller no, much too early for that. This is a local build on a developer's machine. Still needs lots of hand-holding to run it, and we have a very limited number of machines to work with (remote-desktop across continents), waiting for more machines to arrive (also for our release and CI pipelines).
We definitely want to get test builds out as soon as possible, when they're more usable, but that will still take some time.
servusrene commentedon Nov 27, 2020
@thaJeztah what a pity, is there any way to help you and speed up the process?
thaJeztah commentedon Nov 27, 2020
Not at this moment. Team is working on the low-level stuff to get all components running. Debugging some crashes (which could be bugs in Golang (or the way it's used in our code), and bugs in macOS).
EDemerzel commentedon Nov 28, 2020
@thaJeztah It certainly looks like you and the team are making good progress. Would it be possible for you to give us a realistic ETA on getting an alpha or beta that runs on the M1 in our hands? I will not hold you to it but it would help with planning. Thanks so much!
infostreams commentedon Nov 28, 2020
@EDemerzel Not part of the team so I couldn't tell you, but I find your question/demand really super inappropriate. It's done when it's done. If you want to plan (for what?), assume early June and be happily surprised if it's finished early. Otherwise lay off on the pressure and be grateful that you will receive the fruits of their labor for free - whenever that might be. I don't think it's ok to add pressure by asking "when is it done?"
KarimGeiger commentedon Nov 28, 2020
@infostreams Relax, okay? He asked politely and just wanted to know where things are at. He didn't pressure anyone, it was just a question to get a better understanding of what's currently going on. And, believe it or not, some people actually do need to do some planning, especially in an enterprise world. This isn't all fun and games, some people need to work, and some people need docker for this. And yes, docker is free, and he or anyone else using it for free can't demand anything to be done, but it's another thing to just ask a simple question.
infostreams commentedon Nov 28, 2020
@KarimGeiger No. He is putting pressure and he is making demands, however politely phrased, and no - that's not ok. I will stop replying to this thread now, but this needed to be said. I don't mind being the scapegoat for that.
EDemerzel commentedon Nov 28, 2020
Just for the record I wasn't attempting to place pressure or demands. I wasn't even asking about a RC or a Release. On most of my machines I run "edge" and enjoy testing and giving feedback when I can. I'm someone that is excited about the M1 and helping products move from Intel to Apple Silicon. Also, while I do not personally pay for Docker services the people I work for do so I'm not a freeloader. Lastly, I do apologize if my question rubbed you the wrong way.
fieu commentedon Nov 29, 2020
Please guys, this is an issue related to a bug in the software. Please refrain from leaving a comment unless it contributes to the conversation at hand.
andreiborisov commentedon Nov 29, 2020
Assuming we have Docker Desktop for Apple Silicon Macs, how much of a performance hit we’re talking about when running x86 images through Docker QEMU?
thaJeztah commentedon Nov 30, 2020
At this moment, any estimation would be only "guessing" and very likely to be completely off. The honest answer is "we don't know, until we reached that point". To illustrate that; while we did have parts of Desktop running before, the screenshot was posted just minutes after an engineer was able to spin up Desktop (including the UI). There's still many parts that are currently running with duct-tape solutions (e.g. networking with hard-coded IP addresses etc). These builds are also built with unreleased versions of (build-time) dependencies, such as Golang (and I think with some temporary patches on top of that); while that works to get a test-build, that's not something we can use for an actual (regular) release.
This is pretty much "uncharted territory", and given that Docker tends to use parts of operating systems (including macOS) and kernels in very specific ways that other software may not be using, we may be (and often do) running into bugs in macOS that would need to be fixed before we're able to do a somewhat stable release.
@infostreams @KarimGeiger thank you for stepping in; no worries: we're good at "reading between the lines", and I assume @EDemerzel's question was all in good faith.
We are all super-excited to see things progress (I for sure am eyeing the new M1 machines to give them a spin), and with engineers in both San Francisco and Europe working on this, we're literally working around the clock to get things working, and try to make that a reality.
(Personal opinion); while it's definitely good to start testing with these machines in (enterprise) environments, I would not make a major switch to an entirely new hardware for business-critical situations on "day 1". These machines are the first generation of the Apple Silicon platform; while they should be good for may use-cases, there might still be things that need to be addressed. I very much expect that Apple started with the "lower range" models for this reason: allowing them (and users) to "test the waters" before proceeding with the higher-spec models.
I'm not sure if we have good benchmarks yet. That said; these machines are FAST, and even with some overhead, performance may be comparable with native intel. Again; we don't have benchmarks yet (but we'll keep you posted once we have).
With all of the above said, I should add some big warnings⚠️ to set expectations right;
49 remaining items
thaJeztah commentedon Feb 24, 2021
@jan-runkel-zeitgleich @DavidGarciaCat please don't use this ticket to report bugs or support questions; use https://github.com/docker/for-mac/issues for that (or the "dev-preview-program" slack channel if you're on that list)
jan-runkel-zeitgleich commentedon Feb 24, 2021
You're right.
Unfortunately I don't have access to the Slack channel yet.
This ticket describes that with the flag "platform: linux / x86_64" Intel images should run. But that doesn't seem to work.
thaJeztah commentedon Feb 24, 2021
The
--platformflag works if the image is a multi-arch image (which is the case for all official images, but may not be the case for other images). Thebitnami/apacheimage is not a multi-arch image, and only supportslinux/amd64(x86); https://hub.docker.com/r/bitnami/apache/tags?page=1&ordering=last_updatedWhen you specify
--platform, docker will only pull the image if it finds a match (which, in this case, it doesn't).As a workaround you can try pulling it without
--platform, which (in case of a non-multi-arch image) will make docker "ignore" the platform, and just pull "whatever it found".But, it would still be an
x86image that you run on anarmplatform, which means it will try to run it usingqemuemulation, which should be considered a "best effort" and may work (but no guarantee, as there's still many bugs/known issues in qemu).We will continue looking to improve the emulation, and are also in talk with 🍏, but it will remain a "best effort", and mostly to help the transition to ARM becoming more mainstream (both on hosting platforms, and in images).
Because of the above, the recommendation is to run images that match the architecture.
I see you opened https://github.com/bitnami/bitnami-docker-apache/issues/104, which is probably best for that
DavidGarciaCat commentedon Feb 27, 2021
Hello,
Just aiming to report a potential bug:
When I download and install the Docker Preview on my M1, it seems to run. If I open the Docker Desktop Preferences window and set Docker not to start when booting up my laptop, then I am unable to use it again, and I need to remove it and install it again.
The error message I get is that my M1 is not compatible to use Intel software, even when I already used it and Rosetta is installed.
Maybe this is something to be reviewed and addressed in an upcoming update?
Cheers,
jonareyes commentedon Apr 14, 2021
hi everybody, anybody has a solution to inotify issue, I have RC3 Docker Desktop but I don't have some fix o a temporary fix, can you help me, anybody?

lemire commentedon Apr 14, 2021
It does seem that if I shut down Docker Desktop, it won't start again unless I reboot.
finestructure commentedon Apr 14, 2021
I frequently see the same issue, especially after wake from sleep. Going into Activity Monitor and quitting the
Dockerprocess(es) lets me restart. Should save you the reboot.nebuk89 commentedon Apr 22, 2021
As this is now shipped 🎉 https://www.docker.com/blog/released-docker-desktop-for-mac-apple-silicon/
I am closing this item. If you have issues please raise them on https://github.com/docker/for-mac/issues
LinusU commentedon Apr 23, 2021
@nebuk89 Congratulations on the release! Is there any place where we can track the status of getting rid of the Rosetta dependency? I searched the issue tracker where you linked but couldn't find anything. I've also only ever seen references to "some upstream binaries" that are still x86, but never been able to find any more information on which upstream binaries, or if anyone is actively working on it...
Thanks!
StefanScherer commentedon Apr 23, 2021
@LinusU I don't think we have a public ticket to track, but it's definitely on our list of internal tracked items.
You can read about changes for every Docker Desktop release in the release notes https://docs.docker.com/docker-for-mac/release-notes/ . When we finally get rid of requiring Rosetta it will be shown there, and also the system requirements in our docs https://docs.docker.com/docker-for-mac/install/#system-requirements will be updated.
So, just keep your Docker Desktop installation up to date and follow announcements.
Technically our list is down to a few components, and we're aware of version bumps in several components we use that now have native Apple silicon support like Kubernetes, Docker Engine, Node.js, ...
And before you ask, I don't have an ETA to share 😅
LinusU commentedon Apr 26, 2021
@StefanScherer thanks for the quick reply, I'll keep watching the release notes then 👍
(my Docker crashes on startup because of missing Rosetta, so I can't run the updater 😄)
b.t.w. the "Known issues" section doesn't mention that it requires Rosetta anymore (I think it did during the technical preview), which initially led me to believe that the non-preview release didn't require it anymore. I managed to install it, but then Docker crashes on startup.
No big deal though, since I guess that I will just be able to download and run the latest installer as soon as the dependency on Rosetta is dropped 🚀
tygore587 commentedon Apr 26, 2021
@LinusU https://docs.docker.com/docker-for-mac/apple-silicon/ it is listed as a system requirement in the installation docs.