Docker containers, new interesting project

mmenaz

Renowned Member
Jun 25, 2009
835
24
83
Northern east Italy
I've discovered yesterday this very interesting project:
https://www.docker.io/
that, waiting for Proxmox maybe one day integrate it dropping OpenVZ, can be used inside a KVM VM to host internally many 'docker' boxes.
Sounds really great for deployment and to use really few resources.
I'm not found on this and just googled some doc around, but OMHO really worths having a look at!
(maybe in addition to other new compound/related projects like
http://api.yandex.com/cocaine/
http://coreos.com/
http://deis.io/overview/
https://flynn.io/
http://voxoz.com/
https://www.openshift.com/
)
 
why should we drop OpenVZ and integrate docker?

please compare all features.

just to note, docker seems to use LXC, so the question is OpenVZ vs LXC and so far the features from OpenVZ are still better for Proxmox VE.
 
Last edited:
In fact I said "maybe one day", but my focus was on using docker inside a kvm vm, the other part was almost a joke since everytime some new stuff comes out, Proxmox is asked to integrate it ASAP ;P
regards
 
I'm not expert, read the doc as I'm doing, but in general containers share as much as they can with the hosting system, like kernel, filesystem, etc..
Docker seems to let you have even a thinner layer and also only "delta deploy", that would be great if you have many "almost identical" machines (like web servers) and/or you have to push in the cloud (your remote infrastructure) what you developed (improved) locally.
 
docker is a virtualisation system which is similar to proxmox?? can host openvz and kvm?
 
no, its for making application containers to run on servers. you make your app with whatever libraries and support it needs, make a docker container and ship it off to production or servers. any server that can run docker, can run your app. docker can run on openvz. thus, proxmox can run docker apps.

https://www.docker.com/
 
Hi everyone,

Docker is moving quite fast these last days and I though it would be great to add support for Docker from PVE.

The key difference between OpenVZ and Docker is that in the first one is about "booting" the whole OS in a container with a shared Kernel and the last one about starting only the service you need.

I think the two concepts are complementary and would fit perfectly in PVE.

For example, it can be more appropriate to have a "full" container with OpenVZ for a DHCP + DNS server but one might want to start a Docker image starting a simple HTTP server for a PHP App.

It would be great to be able to manage a whole cluster of HTTP / MySQL in the docker way from PVE.

I think there is no such entreprise-ready administration panel as PVE in the Docker ecosystem.

What do you think ?
 
I think the two concepts are complementary and would fit perfectly in PVE.

Yes, Docker is something completely different. I think the way to use Docker is to install it inside
a VM, using an optimized OS like CoreOS or Redhat Atomic. That way you can use all those new
orchestration tools (kybernetes, ..). Installing such thing on PVE directly makes no sense to me.
 
Yes, Docker is something completely different. I think the way to use Docker is to install it inside
a VM, using an optimized OS like CoreOS or Redhat Atomic. That way you can use all those new
orchestration tools (kybernetes, ..). Installing such thing on PVE directly makes no sense to me.
This. So much this.

Installing in a VM, with the emulated hardware, makes docker truly transportable. Plus, you get all the features of the Hypervisor (HA, Live Migration,etc) that at the moment Docker doesn't have.

This is exactly what I do on 3.3 and a CoreOS KVM image, and it's working fantastic.
 
I agree with 1nerdguy, besides Docker and Proxmox are completely different as dietmar stated.

Docker is a virtualization system for applications.
Proxmox is a virtualization system for operating systems.

If you need specific versions of apache, nginx, postgresql, etc, to run your application, Docker helps solve that problem.
If you need to run isolated operating systems of various configuration, Proxmox with OpenVZ/KVM solves this problem.

Also, unless something changed recently that I am not aware of, LXC (what Docker is based on) is less secure than OpenVZ.
Because of that Docker is only suited to run many trusted applications on a single server (or VM) while OpenVZ/KVM is suited towards running many untrusted operating systems on a single server.

Don't try to force all problems into a particular tool, pick the tool that best solves your problem.
 
Hi 1nerdyguy - did you install CoreOS from ISO or did you successfully manage to use their kvm/qemu ISO from coreos site? In that case, how do you manage to start import it?

This. So much this.

Installing in a VM, with the emulated hardware, makes docker truly transportable. Plus, you get all the features of the Hypervisor (HA, Live Migration,etc) that at the moment Docker doesn't have.

This is exactly what I do on 3.3 and a CoreOS KVM image, and it's working fantastic.
 
Hi 1nerdyguy - did you install CoreOS from ISO or did you successfully manage to use their kvm/qemu ISO from coreos site? In that case, how do you manage to start import it?

Went from ISO. Worked smoothly. Looked at the KVM/Qemu, but didn't really see a benefit when a simple ISO install + Proxmox template was all I needed.
 
> I think there is no such entreprise-ready administration panel as PVE in the Docker ecosystem.
I was not yet able to get it to install, but check out Panamax, by Century Labs.

> Docker is a virtualization system for applications.
> Proxmox is a virtualization system for operating systems

Well, containers are a midway point. I'd like to do docker inside Proxmox PVE, and imagine others would too (industry interest in Docker is incredibly high). I do appreciate PVE staff time is limited though.
 
> I think there is no such entreprise-ready administration panel as PVE in the Docker ecosystem.
I was not yet able to get it to install, but check out Panamax, by Century Labs.

> Docker is a virtualization system for applications.
> Proxmox is a virtualization system for operating systems

Well, containers are a midway point. I'd like to do docker inside Proxmox PVE, and imagine others would too (industry interest in Docker is incredibly high). I do appreciate PVE staff time is limited though.

As stated above, there's nothing stopping you from doing Docker in PVE. Just do it the correct way:

1. Create a new VM using an OS of your choice, from a simple Ubuntu server to a more specialzied CoreOS
2. Install Docker on this vm
3. Use docker on this vm.

This has many benefits. The primary one being that since you are emulating all hardware, you can recreate this exact same hardware setup on ANY virt provider, and you know for sure that your containers are truly portable. Doing it directly though the PVE interface, while it would be easier, isn't the answer we're looking for at this time.
 

About

The Proxmox community has been around for many years and offers help and support for Proxmox VE, Proxmox Backup Server, and Proxmox Mail Gateway.
We think our community is one of the best thanks to people like you!

Get your subscription!

The Proxmox team works very hard to make sure you are running the best software and getting stable updates and security enhancements, as well as quick enterprise support. Tens of thousands of happy customers have a Proxmox subscription. Get yours easily in our online shop.

Buy now!