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:
DOCKER_HOST
, DOCKER_CERT_PATH
, etc. variables as the docker
command
line toolThis 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.)
For example code, see the examples directory.
On the Mac, you can set up OpenSSL as follows:
```bash brew install openssl brew link --force openssl
export OPENSSLINCLUDEDIR=/usr/local/opt/openssl/include export OPENSSLROOTDIR=/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.
git remote add upstream git@github.com:faradayio/boondock.git
)git commit -m 'Add some feature'
)git push origin your-branch
)