← Back to team overview

cf-charmers team mailing list archive

fast lxc

 

with juju's builtin local provider (running 1.18) if you have btrfs @
/var/lib/lxc and install squid-deb-proxy on the host, and run juju set-env
apt-http-proxy="http://10.0.3.1:8000";  you should be able to use the local
provider with significant speed improvements. (clone for containers package
caches, you also need to modify the squid deb proxy conf to allow for ppa
access), but that won't include nested containers, you can however use
add-machine kvm:0 to get a kvm machine in local provider for dea agents
that will support warden containers. you'll need to configure the
'network-bridge' option in environments.yaml to point to virbr0 so lxc and
kvm come up on the same network.


I put together an ansible script on my separate workflow with manual
provider + lxc which does allow nesting but its not polished, and i don't
think i can recommend it.
https://github.com/kapilt/juju-lxc/blob/master/ec2.yml

having issues logging into pivotal tracker will resolve later.

http://www.pivotaltracker.com/story/show/68893338

cheers,

Kapil

Follow ups