ruby-lxc icon indicating copy to clipboard operation
ruby-lxc copied to clipboard

ruby bindings for liblxc

Results 9 ruby-lxc issues
Sort by recently updated
recently updated
newest added

When checking if my various [LXC-related RPM packages](https://copr.fedorainfracloud.org/coprs/ganto/lxc3) still work with the latest Fedora version, I found that ruby-lxc is not working anymore. When trying to use it with the...

Example code: ```ruby require 'lxc' old_sync = $stdout.sync $stdout.sync = true ct = LXC::Container.new('container') puts "#{Process.pid} Attaching to container" exitcode = ct.attach({wait: true}) do puts "#{Process.pid} Inside container. Forking" fork...

Hello! I installed `lxd` on my system in order to use this gem and when I tried to follow the example there is a segmentation fault. Tried the following ruby...

`ruby-lxc` is broken with LXC 4.0.4 and newer, as two used external functions were removed from liblxc (see #45). This PR makes `ruby-lxc` work again with the following changes: *...

TODO: - support aufs - support tmpfs - documentation - tests

when I'm using the `save_config` - it's working perfect for interface related stuff and stores the keys into the lxc config file. but it doesn't work for cgroup `memory.limit_in_bytes` and...

Hi, I'm experimenting with this package but I keep getting this error: $ruby test.rb /usr/lib/ruby/2.3.0/rubygems/core_ext/kernel_require.rb:55:in `require': /var/lib/gems/2.3.0/gems/ruby-lxc-1.2.1/lib/lxc/lxc.so: undefined symbol: lxc_strerror - /var/lib/gems/2.3.0/gems/ruby-lxc-1.2.1/lib/lxc/lxc.so (LoadError) from /usr/lib/ruby/2.3.0/rubygems/core_ext/kernel_require.rb:55:in`require' from /var/lib/gems/2.3.0/gems/ruby-lxc-1.2.1/lib/lxc.rb:2:in `' from /usr/lib/ruby/2.3.0/rubygems/core_ext/kernel_require.rb:127:in`require'...

I created 10 containers, then, destroyed them all (muahaha). Looking at lxc-ls and ifconfig I can see that the containers are still "running" but trying to execute lxc-destroy --name **\*...

Anyway to replicate the cli `lxc-start-ephemeral` using the gem?