package docker-api

  1. Overview
  2. Docs
Binding to the Docker Remote API

Install

Dune Dependency

Authors

Maintainers

Sources

docker-api-0.2.1.tbz
sha256=b68cb1528a74a245e2b437a604658a26828f1f2ea85add1756eed4263ea961de
md5=16245b41b7d2a98d038e16140b45d2db

Description

Control Docker https://www.docker.com/ containers using the remote API.

Published: 01 Nov 2018

README

OCaml client for Docker Remote API

This library provides an OCaml client for Docker Remote API. This library is tested with the community edition of Docker.

Note that the OPAM and ocamlfind packages are called docker-api (to distinguish them from other packages related to Docker) but the OCaml module is named Docker (because the code reads better with that name IMHO).

Compilation & installation

The easier way to install this library is to use OPAM. Just type:

opam install docker-api

This library depends on Dune (to compile), uri, and yojson.

To compile as a developer, just type make and then make install to install it.

Documentation

Please read the interface or the HTML version.

Testing

If you compile using make, the tests will be built. In order to run them, make sure that the latest Debian image is installed — if not, simply issue docker pull debian:latest in a shell — and issue make test.

Dependencies (5)

  1. yojson < "2.0.0"
  2. base-unix
  3. base-bytes
  4. dune >= "1.1"
  5. ocaml >= "4.03.0" & < "5"

Dev Dependencies

None

Used by

None

Conflicts

None

OCaml

Innovation. Community. Security.