#container #lxc #linux #daemon #documentation #you-r

bin+lib lxc_rust

A library for working with Linux Containers

1 unstable release

0.1.2 Aug 26, 2022

#5 in #lxc

MIT license

36KB
479 lines

lxc-rs

Rust Cli (Client in future), that let you doing something with Linux containers

What is Linux Containers ? If you heard and works with Docker(maybe with K8S too) - It would be easy for you'r understanding and working;

How to use?

Example

extern crate lxc_rust;

use lxc_rust::{container};

fn main() {
  container.get_local_lxc(); // Prints you a list of you'r local lxc in console
}

(Docs): https://linuxcontainers.org/lxc/documentation/ (Repo): https://github.com/lxc/lxc


lib.rs:

Lxc-rs

A library for working with Linux Daemon && Linux Containers

No runtime deps