Re:Vagrant with Docker: How to set up Postgres, Elasticsearc...
by chatman on Monday July 07, 2014 @03:35PM
(#8000860)
This will drain your battery. Better is to use GNU/Linux natively, e.g. Fedora, Ubuntu.
[ Parent
| on HN ]
Re:Vagrant with Docker: How to set up Postgres, Elasticsearc...
by sfilipov on Monday July 07, 2014 @03:43PM
(#8000918)
Please elaborate. Do you suggest to run Linux on the Mac or to run it in a VM?
I would think that one would get better battery life from running it in a VM, especially a headless one compared to running Linux 'natively' mainly because Linux desktop is notorious for worse battery life than Mac/Windows.
(yes there are ways to improve the out-of-the box battery life of Linux but that's another topic)
Re:Vagrant with Docker: How to set up Postgres, Elasticsearc...
by l33tfr4gg3r on Monday July 07, 2014 @04:17PM
(#8001126)
I think he means running Docker natively on a Linux distro of choice, since LXC / Docker rely heavily on Linux kernel features to implement their functionality (these do not run natively on Mac/Windows/etc). You can't run Linux on a Mac other than running it inside a VM so the overhead as a result would be a drain on battery life (at least that's what I assume chatman means).
Re:Vagrant with Docker: How to set up Postgres, Elasticsearc...
by zrail on Monday July 07, 2014 @06:32PM
(#8001985)
That's how I read it, and I agree with him. When I'm running a linux VM on my Macbook Air the battery drains significantly faster than normal, even if the VM isn't actually doing anything. It must have something to do with the way that VirtualBox responds to power management from the host OS.