1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117
|
# Dockworker: Rust library for talking to the Docker daemon
[](https://circleci.com/gh/Idein/dockworker/tree/master)
[](https://ci.appveyor.com/project/eldesh/dockworker)
## 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
- [x] `/containers/json`
- [x] `/containers/create`
- [x] `/containers/{id}/json`
- [x] `/containers/{id}/top`
- [x] `/containers/{id}/logs`
- [x] `/containers/{id}/changes`
- [x] `/containers/{id}/export`
- [x] `/containers/{id}/exec`
- [x] `/containers/{id}/stats`
- [ ] `/containers/{id}/resize`
- [x] `/containers/{id}/start`
- [x] `/containers/{id}/stop`
- [x] `/containers/{id}/restart`
- [x] `/containers/{id}/kill`
- [ ] `/containers/{id}/update`
- [x] `/containers/{id}/rename`
- [ ] `/containers/{id}/pause`
- [ ] `/containers/{id}/unpause`
- [x] `/containers/{id}/attach`
- [ ] `/containers/{id}/attach/ws`
- [x] `/containers/{id}/wait`
- [x] `/containers/{id}` # remove
- [x] `/containers/{id}/archive`
- [ ] `/containers/{id}/prune`
- checkpoints
- [x] `/containers/{id}/checkpoints`
- exec
- [x] `/exec/{id}/start`
- [x] `/exec/{id}/json`
- image
- [x] `/images/json`
- [x] `/build`
- [ ] `/build/prune`
- [x] `/images/create`
- [x] `/images/{name}/json`
- [x] `/images/{name}/history`
- [x] `/images/{name}/push`
- [ ] `/images/{name}/tag`
- [x] `/images/{name}` # remove
- [x] `/images/search`
- [x] `/images/prune`
- [ ] `/commit`
- [x] `/images/{name}/get`
- [ ] `/images/get`
- [x] `/images/load`
- system
- [x] `/auth`
- [x] `/info`
- [x] `/version`
- [x] `/_ping`
- [x] `/events`
- [ ] `/system/df`
- network
- [x] `/networks`
- [x] `/networks/{id}`
- [x] `/networks/{id}` # remove
- [x] `/networks/create`
- [x] `/networks/{id}/connect`
- [x] `/networks/{id}/disconnect`
- [x] `/networks/prune`
## Test
Executing unit tests:
```shell
$ 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:
```shell
$ docker-compose build
$ cargo test -- --ignored
```
## Original Project Contributors
`Dockworker` crate is forked from [boondock](https://github.com/faradayio/boondock).
Heres are contributors to it.
- Graham Lee <ghmlee@ghmlee.com>
- Toby Lawrence <toby@nuclearfurnace.com>
- Eric Kidd <git@randomhacks.net>
|