News for hackers. Stuff that matters.
Re:Docker for Mac Beta Review by xienze on Monday April 25, 2016 @06:08PM (#11567785)
Running a VM means you have to allocate X amount of RAM regardless if how much is actually needed by the containerized processes.
Re:Docker for Mac Beta Review by JonathonW on Monday April 25, 2016 @06:15PM (#11567823)
You're still running a VM with this, just via xhyve and the OSX Hypervisor framework, rather than via Virtualbox or VMWare.

Which actually makes me wonder how they're managing memory for the VM hosting Docker here. Are they specifying a set fixed allocation? Is memory usage configurable somewhere?

Re:Docker for Mac Beta Review by jdub on Monday April 25, 2016 @06:20PM (#11567854)
Not quite configurable yet, but it appears that's the intention. (I wouldn't be surprised if they'll try to make that a bit more dynamic, if the hypervisor framework allows it.)

https://twitter.com/jdub/status/724724422574104576

Re:Docker for Mac Beta Review by Matt3o12_ on Monday April 25, 2016 @06:20PM (#11567863)
Not necessarily, if I allocate 8GB to a VM, my systems still runs smoothly even when I'm already using 10GB (I have 16GB). One problem is that the VM won't clean up the RAM properly but the swap can handle that quite nicely actually. And I never utilize 16GB of ram, 8 would be more then enough for me and ram is really cheap these days (even on macs).
Re:Docker for Mac Beta Review by cortesoft on Monday April 25, 2016 @06:35PM (#11567945)
You must not run more than 1 chrome tab....
Re:Docker for Mac Beta Review by Matt3o12_ on Monday April 25, 2016 @06:44PM (#11567999)
2 windows with 20-40 tabs each. Doesn't take up that much ram (less then 2GB). I never have more then 2 Windows of any application (e.g. Only 2 terminal Windows) because it breaks the shortcut to get to the previous window
Re:Docker for Mac Beta Review by jdub on Monday April 25, 2016 @06:14PM (#11567818)
You're still running a VM with Docker for Mac/Windows. It's just beautifully integrated and focused on the use case.
Re:Docker for Mac Beta Review by xienze on Monday April 25, 2016 @06:19PM (#11567852)
OK, my bad. For some reason I thought this was more tightly integrated, akin to being native containers.
Re:Docker for Mac Beta Review by bstx on Monday April 25, 2016 @07:02PM (#11568091)
Nope, VMs are demand paged like any other process.