News for hackers. Stuff that matters.
Re:Kubernetes: The Future of Deployment by xorcist on Wednesday June 03, 2015 @02:35PM (#9654788)
Google runs docker in a VM? Why would you do that?

I understand you might want to play with it in a lab environment, but in production at scale (especially Google-scale) sounds very strange.

Re:Kubernetes: The Future of Deployment by brendandburns on Wednesday June 03, 2015 @02:47PM (#9654889)
Users of the Google Cloud run Docker in VMs, since VMs are what the Google Cloud Platform sells.

(as does every public cloud provider [e.g. AWS])

For now, VMs are required to ensure a security barrier between different user's containers on the same physical machine. See some of Dan Walsh's posts on the subject (e.g. https://opensource.com/business/14/9/security-for-docker) for more context.

Re:Kubernetes: The Future of Deployment by jganetsk on Wednesday June 03, 2015 @04:30PM (#9655645)
Google Container Engine runs containers that are in Docker format. The user does not have to deal with Docker or a VM.

https://cloud.google.com/container-engine/

There's also Amazon EC2 Container Service

http://aws.amazon.com/ecs/details/

So Google and Amazon don't just sell VMs. They sell "CMs" as well (Container Machines).

Re:Kubernetes: The Future of Deployment by gobengo on Wednesday June 03, 2015 @04:49PM (#9655754)
It's most likely that even the "CM"s from both providers are actually Virtual Machines running on a hypervisor running on bare metal. You just can't tell and don't need to care (for most workloads).
Re:Kubernetes: The Future of Deployment by falcolas on Wednesday June 03, 2015 @05:28PM (#9655996)
Yup, you can even SSH to them and poke around yourself.
Re:Kubernetes: The Future of Deployment by jganetsk on Wednesday June 03, 2015 @11:28PM (#9657285)
How does that prove it's a VM? How do you know it's not cgroup isolation with a chroot jail? Also known as containers?
Re:Kubernetes: The Future of Deployment by takeda on Thursday June 04, 2015 @02:03AM (#9657684)
Because you're the one setting them up. Basically you run Amazon provided agent on an EC2 instance and ECS will see it as a host for ECS.

Also Amazon bills you for that EC2 instance as any other instance.

Personally I have hard time understanding the benefits of running docker in public cloud, you still run a VM you still pay for that VM. It just one extra abstraction layer which increases complexity of your infrastructure and also reduces performance.

I do understand the benefits of using containers in own data center, when you run it on bare hosts. There's simplicity and and lower costs (because you don't have VM) you have more resources which lets you run more containers than VMs on that host.

Re:Kubernetes: The Future of Deployment by girvo on Thursday June 04, 2015 @03:01AM (#9657769)
> Personally I have hard time understanding the benefits of running docker in public cloud, you still run a VM you still pay for that VM. It just one extra abstraction layer which increases complexity of your infrastructure and also reduces performance.

Simpler deployment and basically forcing "12-factor", as well as easier development environment setups. Nothing you can't achieve with other tooling, but it's nice to be able to guarantee that your dev environment is identical to your prod.

Re:Kubernetes: The Future of Deployment by scprodigy on Saturday June 06, 2015 @03:48PM (#9671993)
People use Docker in a public cloud (VM), primarily to simplify the deployment pipeline, not for LXC.

Given this, it actually makes sense to combine VM with Docker, check out www.hyper.sh

Re:Kubernetes: The Future of Deployment by takeda on Sunday June 07, 2015 @06:18PM (#9676524)
My problem is that I don't believe you can use docker without using containers. And if you want to simplify pipeline, why not just use rpm-maven-plugin[1] you can easily deploy including dependencies, it is fast, you can easily upgrade or downgrade. And no need to trying to figure complexities imposed due to involving LXC.

[1] http://mojo.codehaus.org/rpm-maven-plugin/ (the website does not seem to be available at this moment due to recent CodeHaus shutdown)

Re:Kubernetes: The Future of Deployment by josephjacks on Wednesday June 03, 2015 @02:47PM (#9654891)
Only on their public cloud. For internal workloads, they run everything in containers. Mostly cgroups containers.