#docker

dockworker

Docker daemon API client. (a fork of Faraday’s boondock)

15 releases

0.0.15 Sep 24, 2019
0.0.14 Jul 24, 2019
0.0.13 Jun 25, 2019
0.0.11 Feb 21, 2019
0.0.7 Nov 15, 2018

#3 in #docker

Download history 108/week @ 2019-07-25 114/week @ 2019-08-01 90/week @ 2019-08-08 65/week @ 2019-08-15 170/week @ 2019-08-22 168/week @ 2019-08-29 223/week @ 2019-09-05 123/week @ 2019-09-12 293/week @ 2019-09-19 157/week @ 2019-09-26 248/week @ 2019-10-03 133/week @ 2019-10-10 363/week @ 2019-10-17 369/week @ 2019-10-24 142/week @ 2019-10-31

594 downloads per month
Used in 3 crates

Apache-2.0

170KB
4.5K SLoC

Dockworker: Rust library for talking to the Docker daemon

CircleCI Build status

Support

Environment

  • Docker

    • API version 1.26
  • OS

    • Linux (developped in Ubuntu(amd64))
    • Windows

Api

Supported Api List. Support means that any wrapper method exists in this crate.

  • container

    • /containers/json
    • /containers/create
    • /containers/{id}/json
    • /containers/{id}/top
    • /containers/{id}/logs
    • /containers/{id}/changes
    • /containers/{id}/export
    • /containers/{id}/exec
    • /containers/{id}/stats
    • /containers/{id}/resize
    • /containers/{id}/start
    • /containers/{id}/stop
    • /containers/{id}/restart
    • /containers/{id}/kill
    • /containers/{id}/update
    • /containers/{id}/rename
    • /containers/{id}/pause
    • /containers/{id}/unpause
    • /containers/{id}/attach
    • /containers/{id}/attach/ws
    • /containers/{id}/wait
    • /containers/{id} # remove
    • /containers/{id}/archive
    • /containers/{id}/prune
  • exec

    • /exec/{id}/start
    • /exec/{id}/json
  • image

    • /images/json
    • /build
    • /build/prune
    • /images/create
    • /images/{name}/json
    • /images/{name}/history
    • /images/{name}/push
    • /images/{name}/tag
    • /images/{name} # remove
    • /images/search
    • /images/prune
    • /commit
    • /images/{name}/get
    • /images/get
    • /images/load
  • system

    • /auth
    • /info
    • /version
    • /_ping
    • /events
    • /system/df

Test

Executing unit tests:

$ docker test

Depends on docker

Some test cases depend on docker are disabled by default. These containers required from test cases are built by docker-compose like below:

$ docker-compose build
$ cargo test -- --ignored

Original Project Contributors

Dockworker crate is forked from boondock. Heres are contributors to it.

Dependencies

~12MB
~261K SLoC