bindings-lxc: Direct Haskell bindings to LXC (Linux containers) C API.

[ bsd3, ffi, library ] [ Propose Tags ] [ Report a vulnerability ]

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


[Skip to Readme]

Downloads

Maintainer's Corner

Package maintainers

For package maintainers and hackage trustees

Candidates

Versions [RSS] 0.1, 0.2, 0.2.0.1, 0.2.1, 0.2.2
Change log CHANGELOG.md
Dependencies base (>=4.7 && <5), bindings-DSL (>=1.0 && <1.1) [details]
License BSD-3-Clause
Author Nickolay Kudasov
Maintainer nickolay.kudasov@gmail.com
Category FFI
Home page https://github.com/fizruk/bindings-lxc
Bug tracker https://github.com/fizruk/bindings-lxc/issues
Source repo head: git clone https://github.com/fizruk/bindings-lxc.git -b master
Uploaded by NickolayKudasov at 2018-08-09T04:28:12Z
Distributions NixOS:0.2.2
Reverse Dependencies 2 direct, 0 indirect [details]
Downloads 4290 total (23 in the last 30 days)
Rating (no votes yet) [estimated by Bayesian average]
Your Rating
  • λ
  • λ
  • λ
Status Docs available [build log]
Last success reported on 2018-08-09 [all 1 reports]

Readme for bindings-lxc-0.2.2

[back to package description]

bindings-lxc

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.

Requirements

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

Installation

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

Documentation

Haddock documentation is available at http://fizruk.github.io/bindings-lxc/docs/

Contributing

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