A Haskell library for the Docker Engine API
Go to file
2019-05-20 11:50:06 +02:00
examples Updates docs and examples 2017-03-20 11:05:11 +01:00
scripts Adds script for building docs. 2016-09-07 16:45:15 +02:00
src/Docker Image deletion implementation 2018-06-24 19:17:59 +06:00
tests Fix partial pattern match in test 2019-05-20 11:50:06 +02:00
.gitignore Gitignore 2017-03-21 00:04:52 +01:00
.travis.yml bump containers bound; build against ghc 8.6.4 2019-05-20 09:58:46 +02:00
CHANGELOG.md Bumps major version 2018-06-28 17:15:51 +02:00
CONTRIBUTING.md added contribution guidelines to CONTRIBUTING.md 2017-10-18 09:31:16 +02:00
docker.cabal bump containers bound; build against ghc 8.6.4 2019-05-20 09:58:46 +02:00
LICENSE Makes licence year the year of release 2017-10-10 16:37:23 +02:00
Makefile WIP fixed listing containers 2017-12-14 16:34:03 +01:00
README.md Merge pull request #42 from SKoschnicke/master 2017-11-01 11:26:07 +01:00
Setup.hs initial commit 2014-09-19 19:52:30 +02:00
stack-7.10.yaml Adds unlifio-core to extra-deps and add bounds to cabal file 2018-02-23 22:28:05 +01:00
stack-8.0.2.yaml Update dependencies to work with the stack lts-9 resolver 2017-09-20 00:19:56 -04:00
stack-8.0.yaml Adds unlifio-core to extra-deps and add bounds to cabal file 2018-02-23 22:28:05 +01:00
stack-8.6.4.yaml bump containers bound; build against ghc 8.6.4 2019-05-20 09:58:46 +02:00
stack.yaml bump containers bound; build against ghc 8.6.4 2019-05-20 09:58:46 +02:00

An API client for docker written in Haskell

Master
master

Current state

Supported Docker Engine Api version: v1.24 and onwards.

Anything upward of that should work since Docker versions their API. Older docker version and engine api versions are not supported at the moment.

Documentation

The API-documentation is available at Hackage. There are also some usage-examples in the main library source file, Client.hs.

Contributing

Please see CONTRIBUTING.md.

Project Setup

For working on the library, you need the Haskell Tool Stack installed (see the Haskell Tool Stack website). You also need make to use the Makefile included in the project. Run make help to see the available commands (for building, running the tests and releasing).

Tests

Tests are located in the tests directory and can be run with make test. This only runs the unit tests.

To run integration tests, you need Docker installed and listening on Port 2375 of localhost (docker only listens to a Unix socket by default, see the Docker documentation for details). Set the environment variable RUN_INTEGRATION_TESTS, i.e. RUN_INTEGRATION_TESTS=1 make test.

IRC

If you have any questions or suggestions you can find the maintainers in #docker-haskell on freenode.