/lxc-rs

Linux Containers API for rustaceans

Primary LanguageRustMIT LicenseMIT

LXC

Build Status

Crate to play with LXC container in rust.

Usage

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.