Hello,
Docker support for M1 mac is now out on the preview version.
Thought you guys would like to know !
Docker support for M1 mac is now out on the preview version.
Thought you guys would like to know !
where can we download the preview version? I had a look and didn't find it. will I gain access after registerign for the preview program?
Amazing news, didn't expect a preview version to be ready this quickly.
...how does it run?
How long did it take for you to receive the Slack invitation? I am waiting for that now.you mean the Docker M1 preview? disk I/O is as slow as it is with vftool and/or SimpleVM. apart from that, so far it just works.
OK. I was hoping they were quickerapplied yesterday late in the evening, got approved today at noon.
How long did it take for you to receive the Slack invitation? I am waiting for that now.
I got mine within 2 hours of applying.
Looks like tech preview is ready to download: https://www.docker.com/blog/download-and-try-the-tech-preview-of-docker-desktop-for-m1/
Does Selenium work without any hiccups?Still haven't managed to make my app communicate with a separate Chrome/Selenium container though (works fine on Intel)
Does Selenium work without any hiccups?
According to the docs there should be an internal dns host.docker.internal that resolves to the internal IP address used by the host. I can't get this special host name to work.I didn't manage to get Selenium to work with neither a separate Chrome container nor Chromium installed in my app image. I am now using Cuprite instead of Selenium for my Rails app with Chromium installed in the image. Curprite uses CDP to connect directly to Chrome or something like that. Works fine.
According to the docs there should be an internal dns host.docker.internal that resolves to the internal IP address used by the host. I can't get this special host name to work.
But I was able to use the /24 network defined by Preferences->Resources->NETWORK to get curl in a linux container to talk to nginx in a container on port 80. That should be enough to get Selenium running. You just have to figure out the IP. For me I started nginx up first and it resolved to 192.168.64.1. I'm assuming it is dynamic though and you can't rely on that.
Edit: I was also able to get an amd64 instance running. All I executed was "uname -m" but it seemed very fast. I don't know enough about Docker yet to evaluate if this means that amd64 containers will be fast enough for general use.
I haven't reported the problem to Docker with host.docker.internal but I will. I suspect that many people will notice the problem.I *think* my problem is due to the fact that I am using network aliases for my app container (to be able to test stuff with custom domains). So that's related to DNS too. All in all as a preview version it's awesome.
They are aware of itI haven't reported the problem to Docker with host.docker.internal but I will. I suspect that many people will notice the problem.