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

Linux Containers API for rustaceans

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

https://github.com/sanpii/lxc-rs/issues/18

Hi, I'm trying the unmodified demo.rs. Binary compiles fine but trying to run gives me: thread 'main' panicked at src/main.rs:13:14: Failed to create container rootfs: Error { num: 0, str:...

At the current time of writing, multiple APIs allows the user to pass (or receive) a pointer [directly](https://github.com/sanpii/lxc-rs/blob/f267180ba72d9146be7c793d81d9080c718f6051/src/container.rs#L499) or [indirectly](https://github.com/sanpii/lxc-rs/blob/f267180ba72d9146be7c793d81d9080c718f6051/src/container.rs#L548) (via a structure containing pointers). Those APIs should at least...

The `lxc::Container::get_ips()` API encapsulates the `get_ips()` of `lxc_sys::lxc_container`. There are multiples issues with the design of `lxc::Container::get_ips()`: - It returns `Vec` instead of `Vec`. IP addresses are rarely used simply...

Hi Do you have an example of how to use `lxc::attach::run_command()`, specifically how to build the payload argument? Thanks.

Implemented list_*_containers, Added: get_lxc_path

`container.create` in the C bindings for LXC allows a user to pass in a null pointer instead of a template name for that argument; this is used for example when...