News for hackers. Stuff that matters.
Re:ThinkPad X1 Carbon by noir_lord on Friday December 30, 2016 @07:17PM (#13288632)
> Cut the bullshit and just run Linux on the bare metal,

I run Linux on Linux via vagrant, it's not about my program running faster it's about isolating a client projects dependencies from each other so when I have to work on that system that is still in production on PHP Current-1 or Ruby-1 I don't have to fuck with my host OS at all.

In fact I have very few developer bits and bobs installed on the host (mostly just JetBrains stuff) and all the actual tooling is run in the VM, this makes for far easier deploys for myself since my process is

pull projectname/(site||name), pull projectname/vagrant, vagrant up.

It takes me less than 30 minutes from reinstalling to having half a dozen projects with all their weird dependencies and cruft installed and I never have to worry about breaking something else or needing to blow away a machine for some reason.

I'm happy to trade some performance for running damn near everything in a guest OS for that.

Re:ThinkPad X1 Carbon by thesandlord on Saturday December 31, 2016 @12:25AM (#13289638)
Curious, why Vagrant and not Docker? Then you don't need to run a VM, but still get the same isolation.
Re:ThinkPad X1 Carbon by mjolk on Saturday December 31, 2016 @04:31AM (#13290323)
Not the person you asked, but I use Vagrant because I deploy to hosts that I consider disposable and don't trust Docker in production, for reasons more thoroughly explained by the person that wrote this article: https://thehftguy.com/2016/11/01/docker-in-production-an-his...
Re:ThinkPad X1 Carbon by luos on Saturday December 31, 2016 @03:33AM (#13290161)
I am guessing is that when he started working on this stuff docker was in it's infancy (still is IMHO), and had no reason/time to port it.
Re:ThinkPad X1 Carbon by noir_lord on Saturday December 31, 2016 @09:31AM (#13291146)
Absolutely this, vagrant has bee reliable, stable (barring the odd oops on a new release) and fits my workflow, docker is interesting but the switching cost to payback ratio isn't there (yet, I'd really like to get rid of having to use NFS, that's accounted for 80% of my vagrant issues).
Re:ThinkPad X1 Carbon by BlackFingolfin on Saturday December 31, 2016 @05:18AM (#13290464)
Or you could have glanced at the article and seen that your guess is wide off the mark.. ;-)
Re:ThinkPad X1 Carbon by jholman on Saturday December 31, 2016 @05:26AM (#13290486)
Which article?
Re:ThinkPad X1 Carbon by pbowyer on Saturday December 31, 2016 @03:44AM (#13290198)
> Curious, why Vagrant and not Docker?

I have a Vagrant/Virtualbox workflow (on Windows host, so Docker not a great option yet) but curious: does Docker have shared folder support - via NFS or other?

It's been the getting stuff into & out of the VM that's most painful IMO.

Re:ThinkPad X1 Carbon by rzzzt on Saturday December 31, 2016 @05:09AM (#13290436)
On Windows, if you are using Docker Toolbox, you can keep using VirtualBox. The corresponding driver of docker-machine will spin up the VM that runs the docker daemon, which, once it's running, you can control from the "outside". It uses shared folders support to map the user's home directory by default: https://docs.docker.com/machine/drivers/virtualbox/
Re:ThinkPad X1 Carbon by pbowyer on Saturday December 31, 2016 @06:24AM (#13290616)
> On Windows, if you are using Docker Toolbox, you can keep using VirtualBox.

Oh awesome, thanks! I looked when Docker for Windows came out and (thankfully) spotted the "After Hyper-V is enabled, VirtualBox will no longer work" (?!) warning before trying it. I didn't dig any deeper.

Re:ThinkPad X1 Carbon by timthelion on Saturday December 31, 2016 @04:12AM (#13290272)
Docker has better than just shared folder support, you can share folders, UNIX SOCKETS!!!, and DEVICES!!!!! And no need for NFS either, its just a bindmount into the container...
Re:ThinkPad X1 Carbon by mmatoscom on Saturday December 31, 2016 @02:21AM (#13289974)
well pointed!