Docker daemon API (a fork of Graham Lee’s rust-docker)

9 releases

0.1.0-alpha.1 Apr 9, 2020
0.0.50 Jan 1, 2018
0.0.49 Oct 31, 2017
0.0.48 Mar 18, 2017
0.0.47 Oct 26, 2016

#56 in #docker

Used in cage



Boondock: Rust library for talking to the Docker daemon

Latest version License Build Status Build status Documentation

You may not want this library. This library is only minimally maintained. It is used by the development tool cage, and it does not make much effort to support use-cases beyond that.

It does have a very nice async transport layer based on hyper, hyperlocal, rustls and modern async Rust that you might want to borrow for use in your Docker client. No OpenSSL is involved in any way.

Here are the other Rust Docker clients I know about:

  • rust-docker is the original Rust Docker library by Graham Lee, which most of the other libraries are based on (including this one).
  • shiplift appears to fairly complete and actively maintained, with lots of downloads. It's still on hyper 0.12 at the time of writing.
  • bollard is fully async, and at the time of writing, it was based on a modern hyper 0.13.


For example code, see the examples directory.


  1. Fork it
  2. Create your a new remote upstream repository (git remote add upstream git@github.com:faradayio/boondock.git)
  3. Commit your changes (git commit -m 'Add some feature')
  4. Push to the branch (git push origin your-branch)
  5. Create new Pull Request


~185K SLoC