#docker

dockworker

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

18 releases

0.0.18 Apr 30, 2020
0.0.15 Sep 24, 2019
0.0.14 Jul 24, 2019
0.0.11 Feb 21, 2019
0.0.7 Nov 15, 2018

#4 in #docker

Download history 457/week @ 2020-03-10 242/week @ 2020-03-17 166/week @ 2020-03-24 219/week @ 2020-03-31 354/week @ 2020-04-07 368/week @ 2020-04-14 234/week @ 2020-04-21 241/week @ 2020-04-28 287/week @ 2020-05-05 276/week @ 2020-05-12 224/week @ 2020-05-19 267/week @ 2020-05-26 234/week @ 2020-06-02 215/week @ 2020-06-09 350/week @ 2020-06-16 269/week @ 2020-06-23

1,260 downloads per month
Used in 3 crates

Apache-2.0

200KB
5.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
  • checkpoints

    • /containers/{id}/checkpoints
  • 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
  • network

    • /networks
    • /networks/{id}
    • /networks/{id} # remove
    • /networks/create
    • /networks/{id}/connect
    • /networks/{id}/disconnect
    • /networks/prune

Test

Executing unit tests:

$ cargo 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

~13MB
~277K SLoC