package docker-api

Not available on OCaml 5.5
  1. Overview
  2. Docs
Binding to the Docker Remote API

Install

dune-project
 Dependency

Authors

Maintainers

Sources

docker-api-0.2.2.tbz
sha256=9a64eced74f6ed217973043beec70f20a492a63b395df141ae03f75d3655dced
sha512=603f0abc76e42701bdb0926bc6b9c5358ba1bd58bce5c534296671db0c2497ee0d7e75752700f5c5662ccc480d393772a81a342c1aa3e331fa308e0eb60105be

Description

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

Added to opam-repository:

README

OCaml client for Docker Remote API

This library provides an OCaml client for Docker Remote API, version 1.29. 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) 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 >= "1.6.0"
  2. base-unix
  3. base-bytes
  4. ocaml >= "4.03" & < "5"
  5. dune >= "2.8"

Dev Dependencies (1)

  1. odoc with-doc

Optional Dependencies

None

Used by

None

Conflicts

None

Build status

Results of building docker-api with each compiler on check.ci.ocaml.org, run of against opam-repository 8a77e58. All results for this package.

Each result links to its build log. To keep crawlers from overloading the site, build logs require a GitHub sign-in (see ocurrent/opam-health-check). On your first log, GitHub asks you to “Authorize opam-health-check”, the OCurrent app that runs these checks; it sees only your public profile, not your repositories. The sign-in lasts 30 days.

Version OCaml 4.11 OCaml 4.14 OCaml 5.2 OCaml 5.4 OCaml 5.5
0.2.2 (this version) good good n/a n/a n/a
  • good Package successfully built
  • partial One of the dependencies failed to build
  • bad Package failed to build
  • n/a Package is not available in this environment
  • internal Internal failure