Crates.io | lxc |
lib.rs | lxc |
version | 0.8.0 |
source | src |
created_at | 2018-05-22 21:56:19.481864 |
updated_at | 2024-04-07 15:54:24.510813 |
description | Linux Containers API |
homepage | |
repository | https://github.com/sanpii/lxc-rs.git |
max_upload_size | |
id | 66693 |
size | 50,538 |
Crate to play with LXC container in rust.
Add it to your dependencies:
$ cargo add lxc
You also need the lxc C development files and clang:
# Archlinux
$ sudo pacman -S lxc clang llvm
# Debian/Ubuntu
$ sudo apt install lxc-dev clang llvm
# Fedora
$ sudo dnf install lxc-devel clang llvm
See demo.rs for a complete example.