News for hackers. Stuff that matters.
Re:A Quick Introduction to LXD by notsony on Friday May 08, 2015 @01:16PM (#9512869)
So should I use LXD or Docker? I just want to package up an app with dependencies and make it easy for others to use/test.
Re:A Quick Introduction to LXD by jcastro on Friday May 08, 2015 @02:50PM (#9513457)
If you just want to package an app use docker.

The general rule of thumb I use is "Will I need to ssh into this?" If so, LXD. "Am I just running one application?" Docker.

Re:A Quick Introduction to LXD by stephen-mw on Friday May 08, 2015 @01:32PM (#9513003)
Without a doubt use Docker. It has the ecosystem, which is extremely important. It also has the support and community.

For devops engineers looking to build an entire enterprise around containers, LXD will be a great option when it reaches maturity and its ecosystem matures. It's not there yet, and probably won't be for a few years.

Another great company that's doing extremely cool things with LXC minus Docker is Flockport[0]

[0] http://www.flockport.com/

Re:A Quick Introduction to LXD by notsony on Friday May 08, 2015 @03:39PM (#9513702)
So flockport is a competitor to Docker? Seems to do what Docker does. So many choices. CoreOS too . Docker has the momentum and VC$. Hard to really know what the "right" choice is.
Re:A Quick Introduction to LXD by rdtsc on Friday May 08, 2015 @03:49PM (#9513741)
Use LXD, it is more flexible.

Can have application structured as multiple processes so can map VM patterns to it easier, without creating unnecessary containers.

Believe you also get better security between containers

Also LXC has been in the kernel longer and seems more mature (since 2.6.20-something).

Re:A Quick Introduction to LXD by vezzy-fnord on Friday May 08, 2015 @05:31PM (#9514251)
Also LXC has been in the kernel longer and seems more mature (since 2.6.20-something).

LXC in the kernel? It's a userspace toolkit that makes use of kernel technologies (namespaces, pivot_root, cgroups...), but I don't recall it being bundled as a part of it.

Re:A Quick Introduction to LXD by rdtsc on Sunday May 10, 2015 @11:40PM (#9522573)
> LXC in the kernel?

Sorry, I meant LXC support. Yeah it is comprised of a set of a features supported by regular Linux kernels + userspace tools. The feature set has been there for a quite a while.

> but I don't recall it being bundled as a part of it.

But it is in contrast to say OpenVZ which required patching the kernel to work.

Re:A Quick Introduction to LXD by stephen-mw on Friday May 08, 2015 @05:30PM (#9514248)
I like LXD a lot, but it's simply too new to rally behind it fully. You have to backport it to Ubuntu 14.04 if you even want to run it on an LTS operating system.

That being said, I think Canonical has good vision and will execute. LXD combines the best from old and new school.

Re:A Quick Introduction to LXD by jaytaylor on Friday May 08, 2015 @02:40PM (#9513407)
You could also write an Ansible role for your app which automates the setup and installation. Then installing your app becomes as simple as a single Ansible command without additional dependencies.
Re:A Quick Introduction to LXD by notsony on Friday May 08, 2015 @03:34PM (#9513685)
Is this open-source or do I have to pay? Not clear from the web-site.

If I have to coordinate multiple apps (three apps in this system, have to speak with each other over ports) and I want to run each app in its own container, on the same server, or distributed, can Ansible help me? Thanks.

Re:A Quick Introduction to LXD by jaytaylor on Friday May 08, 2015 @04:04PM (#9513837)
Ansible is FOSS - so yes, open-source and free for you to use.

Ansible is an automation tool which lets you create one or more playbooks for automatically configuring and deploying applications.

You certainly could use it to automate the configuration of these apps in containers, and for the case of distributed multi-machine arrangement it will improve your life.