Take the 2-minute tour ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free, no registration required.

I use the lxc driver for juju and I have created a local environment; actually the well-known Wordpress from https://juju.ubuntu.com/docs/getting-started.html.

I then tried

export VIRSH_DEFAULT_URI=lxc:///
virsh list

and got an empty list of containers.

Where are the lxc containers which Juju created for me?

share|improve this question

2 Answers 2

juju doesn't use libvirt to manage lxc containers at all. Juju's libvirt dep was just to use the default libvirt networking.

The libvirt dep has recently been removed from juju trunk to favor using the (quite similar) default networking provided by the 12.04 lxc packages.

share|improve this answer

They should be in the same place as all the other constainers, namely, /var/lib/lcx Did you manage to list them using lxc-ls? If you have done so, you still have to notify the driver about your containers using an XML file: https://help.ubuntu.com/12.04/serverguide/lxc.html#lxc-libvirt

share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.