Where communities thrive

  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
Repo info
Bryan Larsen
it's an LXC problem, not a vagrant-lxc one. you probably did a recent apt-get upgrade
Ian Gudger
Are you suggesting that I downgrade lxc?
Bryan Larsen
I fixed it by upgrading
Ian Gudger
To what version?
Bryan Larsen
to 1.1.0~alpha2-0ubuntu7
It's not released for 14.10 yet, but the 15.04 version installs fine
Ian Gudger
Ok, thanks
Ian Gudger
Great, thanks. I got it working.
still much work but might be able to varant them as well.
Fabio Rehm
@necrose99 awesome!
Michael L.
I just hope my templates get a more sane make over in time , kinda hotwireing as gentoo-lxc exits & chrooting into... adding overlays and updates. just from a sysmin pov it should do the job.
Fabio Rehm
Andrii Podanenko
@fgrehm ping, are you around?
Fabio Rehm
@podarok do u still need help?
hi all, i have some apps to launch via vagrant and i'd love to use LXC. Is your provider project compatible with LXC1.0+ ? Thanks for all :)
Michael L.
simple bridge , lxc is backend insted of say virtual box
Hi all, i have difficulties to install the vagrant-lxc plugin:

vagrant plugin install vagrant-lxc give me an error :

Bundler, the underlying system used to manage Vagrant plugins,
is reporting that a plugin or its dependency can't be found.
This is usually caused by manual tampering with the 'plugins.json'
file in the Vagrant home directory. To fix this error, please
remove that file and reinstall all your plugins using vagrant plugin install.
/opt/vagrant/embedded/gems/gems/bundler-1.7.9/lib/bundler/resolver.rb:368:in resolve': Could not find gem 'vagrant-lxc (>= 0) ruby' in the gems available on this machine. (Bundler::GemNotFound) from /opt/vagrant/embedded/gems/gems/bundler-1.7.9/lib/bundler/resolver.rb:166:instart'
from /opt/vagrant/embedded/gems/gems/bundler-1.7.9/lib/bundler/resolver.rb:129:in resolve' from /opt/vagrant/embedded/gems/gems/bundler-1.7.9/lib/bundler/definition.rb:193:inresolve'
from /opt/vagrant/embedded/gems/gems/bundler-1.7.9/lib/bundler/definition.rb:132:in specs' from /opt/vagrant/embedded/gems/gems/bundler-1.7.9/lib/bundler/definition.rb:177:inspecs_for'
from /opt/vagrant/embedded/gems/gems/vagrant-1.7.1/lib/vagrant.rb:76:in <top (required)>' from /opt/vagrant/embedded/lib/ruby/2.0.0/rubygems/core_ext/kernel_require.rb:135:inrequire'
from /opt/vagrant/embedded/lib/ruby/2.0.0/rubygems/core_ext/kernel_require.rb:135:in rescue in require' from /opt/vagrant/embedded/lib/ruby/2.0.0/rubygems/core_ext/kernel_require.rb:144:inrequire'
from /opt/vagrant/bin/../embedded/gems/gems/vagrant-1.7.1/bin/vagrant:105:in `<main>'

I tried to rm plugins.json and reinstall the plugins but it does not change anything. Does someone has an idea ?
Keith Swett
Any time for a simple pull request? fgrehm/vagrant-lxc#408
Ryan Schachte
Would anyone here know why lxd-top displays 0 container results?
I have 2 running lxd containers on my machine
Igor Savlook
Hi! Someone know it is exist plugin like vagrant-lxc but for systemd-nspawn?
Hi. Is anyone aware of an up-to-date example of running a docker container inside an lxc container? Most of the examples on the internet talk about using the exec-driver=lxc option which is no longer there. We use vagrant-lxc to spin up a cutdown replica of our production system for dev/ci/cd. One of the new projects wants to run a docker container inside one of the instances, but I've had no success getting this to work. Tried all sorts of options from all over the internet, e.g. setting lxc.aa_profile=unconfined and even stopping apparmor on the host - but no joy. I'm running Ubuntu 16.04 with a HWE 4.4.0-112-generic kernel on the host, and Ubuntu 14.04 with the same kernel on each of the lxc containers. LXC version 2.0.8. Docker version 17.12.0-ce. Have been getting different errors trying different things, e.g. docker: Error response from daemon: cgroups: cannot found cgroup mount destination: unknown. Many thanks.
Michael L.
@dhallam lxc or lxd is just a virtual machine class. https://app.vagrantup.com/markducommun/boxes/docker-compose-box wich vagrant can pull box , box uses lxc insted of vmware or virtualbox
Hi, for a value like /proc/sys/fs/mqueue/msg_max in a privileged it is lower in the guest than on the host. Why is that and where is that set? I can manipulate it if I disable apparmor, but I'd rather just have the guest match the host and no higher