The bindings-lxc package

[ Tags: bsd3, ffi, library ] [ Propose Tags ]

The package provides direct bindings to LXC C API through bindings-dsl. For high-level Haskell LXC API see lxc package.

[Skip to Readme]


Versions 0.1, 0.2,, 0.2.1
Change log
Dependencies base (>=4.7 && <5), bindings-DSL (==1.0.*) [details]
License BSD3
Author Nickolay Kudasov
Category FFI
Home page
Bug tracker
Source repo head: git clone -b master
Uploaded Thu Jan 21 00:29:04 UTC 2016 by NickolayKudasov
Distributions NixOS:0.2.1
Downloads 1321 total (31 in the last 30 days)
Rating (no votes yet) [estimated by rule of succession]
Your Rating
  • λ
  • λ
  • λ
Status Docs available [build log]
Last success reported on 2016-01-21 [all 1 reports]
Hackage Matrix CI




Maintainer's Corner

For package maintainers and hackage trustees

Readme for bindings-lxc-0.2.1

[back to package description]


Hackage package Build Status

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
$ cd bindings-lxc
$ cabal install


Haddock documentation is available at


Contributions and bug reports are welcome!

Please feel free to contact me via GitHub or on the #haskell IRC channel on

-Nickolay Kudasov