Direct Haskell bindings to LXC (Linux containers) C API.
The package provides direct bindings to LXC C API through @bindings-dsl@.
For high-level Haskell LXC API see lxc package.
Before installation make sure you have LXC installed on your system with header files and static library.
On Ubuntu 14.04 LTS (Trusty Tahr):
$ sudo apt-get install lxc-dev
On previous Ubuntu versions (including 12.04 LTS Precise Pangolin) standard repositories do not contain liblxc1
package.
You might want to use ppa:ubuntu-lxc/stable
repository instead:
$ sudo apt-get install software-properties-common python-software-properties
$ sudo add-apt-repository ppa:ubuntu-lxc/stable
$ sudo apt-get update
$ sudo apt-get install lxc-dev
Get the latest stable version from Hackage:
$ cabal install bindings-lxc
or clone this repository:
$ git clone https://github.com/fizruk/bindings-lxc.git
$ cd bindings-lxc
$ cabal install
Haddock documentation is available at http://fizruk.github.io/bindings-lxc/docs/
Contributions and bug reports are welcome!
Please feel free to contact me via GitHub or on the #haskell IRC channel on irc.freenode.net.
-Nickolay Kudasov