Skip to content
/ lxc-rs Public

Linux Containers API for rustaceans

License

Notifications You must be signed in to change notification settings

sanpii/lxc-rs

Repository files navigation

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.