[node-devel] Docker in the land of Node (plugin and build-system)

Fabian Deutsch fabiand at redhat.com
Thu Mar 6 09:56:02 UTC 2014


Am Mittwoch, den 05.03.2014, 22:03 -0500 schrieb Mike Burns:
> On 03/05/2014 04:31 AM, Fabian Deutsch wrote:
> > Hey,
> >
> > Docker is somewhat a hype these days.
> >
> > And docker can also be found in the Node land. In two ways actually.
> >
> > First:
> > Ryan added some Dockerfiles which you can use to build ovirt-node-iso
> > within a Docker container. That is great. Because it separates the host
> > OS from the to-be-build-OS.
> > Ref: http://gerrit.ovirt.org/#/c/24679/
> 
> Very nice.  So does this removes livecd-tools from the build process? 
> or does it run livecd-tools through Docker?

No, livecd-tools are still used, they are run within Docker.

> > Second:
> > I just added a (draft) plugin which adds Docker to an existing Node ISO
> > and runs it in "host mode", that means Docker will be bound to a public
> > port (4243 in out case) and users can use it from remote using:
> >
> > $ docker -H $NODEADDR:4243 info
> >
> > This has the benefit of having the solid nature of Node as a base and
> > the flexibility of Docker on top.
> > Ref: http://gerrit.ovirt.org/#/c/25370/
> 
> IIUC, this would allow containers to run locally on ovirt-node.  Is 
> there any management interface for this? 

This should  as it uses default Docker features (HTTP Rest API). It
should be possible to use it with e.g. shipyard
(http://shipyard-project.com/).

It also seems that OpenStack is using the HTTP Rest API of Docker
(https://wiki.openstack.org/wiki/Docker).

Tho I must say that I have not tested both yet.

> Is this a roadmap item for 
> engine to consume? Or is it to make Node an option for another 
> container-based virtualization management tool?

No, Engine is not targeting Docker afaik.

And yes, it was more about to show that Node can also host other
container based virtualization solutions.

This was just a small excursion while I played with docker, because I am
still looking for a lightweight hypervisor which is easy to use in a
home lab.

So something like a libvirt-standalone or (now) docker plugin, or maybe
it's lxc ...

- fabian


> >
> >
> > Both ways need testing, and the latter can not be easily tested yet, as
> > systemd (aka Fedora image) is required.
> 
> 
> >
> > - fabian
> >
> 

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 836 bytes
Desc: This is a digitally signed message part
URL: <http://lists.ovirt.org/pipermail/node-devel/attachments/20140306/0e3dab17/attachment.sig>


More information about the node-devel mailing list