Questions tagged [lxd]

LXD is a container "hypervisor" and a new user experience for LXC (Linux Containers).

LXD is a container "hypervisor" and a new user experience for LXC.

Specifically, it's made of three components:

  • A system-wide daemon (lxd)
  • A command line client (lxc)
  • An OpenStack Nova plugin (nova-compute-lxd)
  • The daemon exports a REST API both locally and if enabled, over the network.

The command line tool is designed to be a very simple, yet very powerful tool to manage all your containers. It can handle connect to multiple container hosts and easily give you an overview of all the containers on your network, let you create some more where you want them and even move them around while they're running.

The OpenStack plugin then allows you to use your lxd hosts as compute nodes, running workloads on containers rather than virtual machines.

The LXD project was founded and is currently led by Canonical Ltd and Ubuntu with contributions from a range of other companies and individual contributors.

Features

Some of the biggest features of LXD are:

  • Secure by design (unprivileged containers, resource restrictions and much more)
  • Scalable (from containers on your laptop to thousand of compute nodes)
  • Intuitive (simple, clear API and crisp command line experience)
  • Image based (no more distribution templates, only good, trusted images)
  • Live migration

Relationship with LXC

LXD isn't a rewrite of LXC, in fact it's building on top of LXC to provide a new, better user experience. Under the scene, LXD uses LXC through liblxc and its Go binding to create and manage the containers.

It's basically an alternative to LXC's tools and distribution template system with the added features that come from being controllable over the network.

156 questions
0
votes
1 answer

Migrating LXD VMs/containers between nodes

I am setting up a small cluster using a VM (master) and 3 bare metal servers (all running Ubuntu 14.04). Each bare metal server also has 2T of disk space exported using Ceph 0.94.5. I would like to be able to run LXD VMs (containers) on this…
dilvan
  • 2,109
  • 2
  • 20
  • 32
0
votes
1 answer

LXC/LXD error: Can not change LVM config. Images or containers are still using LVs:

Requirement: Create two trusty containers each on its own disk so I could setup a 2-node mongodb replica set. My idea was to create two LVM volume groups so that each container owns its own volume group (and disks…
sgireddy
  • 155
  • 10
0
votes
1 answer

NodeJs Error: write EPIPE http unix socket domain LXD API

The whole idea is to use the LXD RESTful API over a unix socket for local operations. The following code runs well once for each 2 or 3 with errors. I don't know if is related to node.js or is related the lxd api. The Output with error problem with…
shnicolau
  • 31
  • 4
0
votes
1 answer

how to access mongodb deployed insde lxc container

I have been playing with lxc-lxd. I was able to install mongodb within an lxc container (ubuntu 15.04). I was able to access everything from within the container but not the otherway around. The container & lxc-bridge were being given 10.x.x.x ip…
sgireddy
  • 155
  • 10
-1
votes
1 answer

LXD DHCP handing out IP addresses

I have been using LXC/LXD (4.0.4) for a while now and love the flexibility they provide - I however have started having some odd problems on my network. It seems the LXD is running a DHCP server and handing out address to other devices on my…
-1
votes
2 answers

Ansible templating yaml inside a task

i am using the lxd_container module to create some lxd containers. One of these containers should include in its configuration the line security.nesting: "true". I can't template this configuration since it is controlled by the lxc tool. I need…
alixander
  • 426
  • 1
  • 7
  • 18
1 2 3
10
11