[lxc-users] LXD an "hypervisor" for containers (based on liblxc)

Serge Hallyn serge.hallyn at ubuntu.com
Thu Nov 6 15:26:58 UTC 2014


Quoting Serge Hallyn (serge.hallyn at ubuntu.com):
> Yup, so we are refactoring what was our toy poc and submitting pull
> requests for that over the next ... well, today and maybe early
> tomorrow.  So please test as that happens, but it's probably best to
> wait on sending any patches until tomorrow.  We'll have basic create,
> start, stop and attach to remote containers in that, and it'll give a
> basic structure to start with.  Until those are in we're pretty much
> guaranteed to conflict.  Once they're in, anything's fair game :) For
> instance, create will first only do amd64 ubuntu trusty download
> containers, and we haven't started on an image store.  See the file
> specs/command-line-user-experience.md for how create will eventually
> work.  If anyone wants to start work on that, that should be a lot of
> fun.  We also need to implement use of certificates to make this
> actually safe to use.  We may or may not want to keep a Roadmap file
> giving some ideas of areas people can work on.
> 
> So yeah I'd start by reading Stéphane's doc, then you can try out
> what we send today by running
> 
> sudo lxd --tcp $ip:$port
> 
> on whatever you want to be your compute nodes, say n1 and n2, and

Sorry, you also need to

lxc remote add n1 $ip1:$port1
lxc remote add n2 $ip2:$port2

on the client before doing the below.

> lxc create n1:c1
> lxc create n2:c2
> lxc start n1:c1
> lxc attach n1:c1
> lxc stop n1:c1
> lxc destroy n2:c2

Just doing

lxc create c1

will create c1 on the local host, assuming you have lxd running there.


More information about the lxc-users mailing list