GithubHelp home page GithubHelp logo

boondock's Introduction

Boondock: Rust library for talking to the Docker daemon

Latest version License Build Status Build status Documentation

This is a work in progress!

This is a fork of Graham Lee's highly useful rust-docker library, with hyper support from Toby Lawrence and various other recent patches integrated.

It also adds:

  • Partial support for Docker 1.12 (ongoing)
  • Support for Windows (experimental)
  • Support for building without OpenSSL
  • Support for finding and connection to the daemon using the same DOCKER_HOST, DOCKER_CERT_PATH, etc. variables as the docker command line tool
  • Consistent error-handling via error-chain

This library is used by the development tool cage to talk to the Docker daemon. You're welcome to use it for other things, and we're happy to accept pull requests!

(Also, the maintainers of rust-docker are totally welcome to use any code that they like from this fork. We're mostly maintaining this as a fork so that we can have very quick turnaround times when we need to fix an issue with cage, and we have no objections to this code being merged back upstream.)

Examples

For example code, see the examples directory.

OpenSSL

On the Mac, you can set up OpenSSL as follows:

brew install openssl
brew link --force openssl

export OPENSSL_INCLUDE_DIR=/usr/local/opt/openssl/include
export OPENSSL_ROOT_DIR=/usr/local/opt/openssl

Alternatively, you can build without OpenSSL by passing --no-default-features to cargo, or specifying default-features = false in a Cargo.toml file.

Contributing

  1. Fork it
  2. Create your a new remote upstream repository (git remote add upstream [email protected]: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

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.