Rust-lxc – LXC bindings for Rust

Hello all,

I built rust-lxc, a native Rust interface and CLI wrapper around Linux Containers (LXC).
It uses FFI to call LXC commands under the hood and provides Rust-native methods to create, start, stop, delete, shutdown and list containers.

  • FFI-based bindings to liblxc
  • A CLI using clap
  • Integration tests under tests
  • Crate published on crates.io

The goal is to make LXC scripting more type-safe and ergonomic for Rust devs, especially in systems automation. Happy to collaborate, accept PRs and improve cross-platform support.

https://crates.io/crates/rust-lxc

2 Likes