Become a MacRumors Supporter for $50/year with no ads, ability to filter front page stories, and private forums.

mikeboss

macrumors 68000
Aug 13, 2009
1,545
860
switzerland
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?
 

bill-p

macrumors 68030
Jul 23, 2011
2,929
1,589
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?

Here you go:

TL;DR: yeah, you'll gain access after registering for the preview program.
 

bill-p

macrumors 68030
Jul 23, 2011
2,929
1,589
Amazing news, didn't expect a preview version to be ready this quickly.

Considering recent work to get the hypervisor working with VMs... and having QEMU working almost perfectly (some kinks here and there), I'd actually be surprised we don't see anything from Docker/Parallels/VMWare soon.

But still, I have to admit that this is super exciting, and it means full compatibility may not be too far off.
 

mikeboss

macrumors 68000
Aug 13, 2009
1,545
860
switzerland
public preview should be available next week:

Screen Shot 2020-12-12 at 17.53.47.png
 
  • Like
Reactions: mds1256

jdb8167

macrumors 601
Nov 17, 2008
4,859
4,599
Nice. Works seamlessly. One of the last pieces needed for this M1 MBA to be ready for enterprise development.
 

VitoBotta

macrumors 6502a
Dec 2, 2020
888
347
Espoo, Finland
Does Selenium work without any hiccups?

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.
 
  • Like
Reactions: igrbgd

jdb8167

macrumors 601
Nov 17, 2008
4,859
4,599
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.
 

VitoBotta

macrumors 6502a
Dec 2, 2020
888
347
Espoo, Finland
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 *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.
 

jdb8167

macrumors 601
Nov 17, 2008
4,859
4,599
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.
I haven't reported the problem to Docker with host.docker.internal but I will. I suspect that many people will notice the problem.
 
Register on MacRumors! This sidebar will go away, and you'll see fewer ads.