Skip to content

ragne/dockworker

 
 

Repository files navigation

Dockworker: Rust library for talking to the Docker daemon

CircleCI Build status

Support

Environment

  • Docker

    • API 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}/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
  • 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.

About

Docker daemon API client in Rust

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Rust 97.7%
  • Shell 2.0%
  • Dockerfile 0.3%